ClickHouse / ClickHouse/clickhouse-java

Thread safety of client-v2 Client

未关闭
#2,845 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:docs client-api-v2 enhancement jdbc-v2
主要语言
Java
星标
1.6k
派生
636
平均合并
2 天 23 小时
30 天内合并 PR
29

描述

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.

贡献指南

打开贡献指南

调研方向

首先查看 client-v2 Client 的文档和实现,以确定一个 Client 对象是否可以在线程之间复用。记录关于线程安全的官方指导,包括调用方应该共享一个 Client,还是为每个线程创建一个 Client;该 issue 未指定具体的文档文件或测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。