ClickHouse / ClickHouse/clickhouse-java

Thread safety of client-v2 Client

Open
#2,845 1 comment 0 reactions 0 assignees View on GitHub
area:docs client-api-v2 enhancement jdbc-v2
Dominant language
Java
Stars
1.6k
Forks
636
Avg merge
2d 23h
Merged PRs (30d)
29

Description

Documentation for client-v2 never explicitly states that Client class is thread-safe or not. From code it appears to be thread-safe, but it would be very useful to have an official confirmation on whether the same Client object can be reused across threads or it should be created per thread.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the client-v2 Client documentation and implementation to determine whether one Client object can be reused across threads. Document the official thread-safety guidance, including whether callers should share a Client or create one per thread; the issue does not identify a specific documentation file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.