Clarify JDBC SSL migration from sslmode to ssl_mode
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- java
调研方向
阅读 JDBC 主要文档、v0.10.0 发行说明以及引用的 issue #2874、#2389 和 #2819,以确认迁移行为和默认值。将当前的 BigQuery 到 ClickHouse Dataflow 示例与 JDBC V2 URL 指南进行比较。添加一个迁移章节,涵盖对旧版 sslmode 的支持、可接受值和默认值、NONE 到 TRUST 的映射、URL 示例以及 TRUST 的验证风险。
由索引模型根据 Issue 内容生成。
描述
Documentation gap
JDBC V2 uses ssl_mode for SSL/TLS verification, with the values DISABLED, TRUST, VERIFY_CA, and STRICT.
The v0.10.0 release notes state that JDBC accepts NONE and maps it to TRUST, while recommending migration to the new naming. However, the main JDBC documentation does not clearly explain the migration from the V1 sslmode property to JDBC V2 ssl_mode.
This is especially confusing because the current BigQuery-to-ClickHouse Dataflow guide still shows:
ssl=true&sslmode=NONE
Could the JDBC documentation add an SSL/TLS migration section that clarifies:
- Whether JDBC V2 accepts the legacy
sslmodeproperty name in connection URLs. - The supported
ssl_modevalues and the default. - The confirmed JDBC compatibility mapping
ssl_mode=NONEtossl_mode=TRUST. - Recommended JDBC V2 URL examples, including whether
ssl=trueis needed when the URL already useshttps. - That
TRUSTskips certificate and hostname verification and should be limited to controlled environments.
References:
- v0.10.0 release notes and #2874
- #2389 and #2819
- BigQuery-to-ClickHouse Dataflow template documentation
If this direction is useful, I can prepare a focused documentation update.
- 主要语言
- Java
- 星标
- 1.6k
- 派生
- 657
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 36
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ClickHouse/clickhouse-java 的其他 Issue
-
api-diagnostics bug jdbc
难度 2/5 1-3 小时 新手友好度 75/100
ClickHouse/clickhouse-java#3464 ·
维护者通常 1 天内回复
-
tests
难度 2/5 1-3 小时 新手友好度 76/100
ClickHouse/clickhouse-java#3452 ·
维护者通常 1 天内回复
-
bug jdbc performance queries sql-parser
难度 2/5 1-3 小时 新手友好度 77/100
ClickHouse/clickhouse-java#3451 ·
维护者通常 1 天内回复
-
bug jdbc legacy queries
难度 2/5 1-3 小时 新手友好度 70/100
ClickHouse/clickhouse-java#3444 ·
维护者通常 1 天内回复
-
api-diagnostics bug client jdbc
难度 2/5 1-3 小时 新手友好度 76/100
ClickHouse/clickhouse-java#3439 · 1 条评论 ·
维护者通常 1 天内回复
查看 ClickHouse/clickhouse-java 的全部 Issue
相似的 Issue
-
[BUG] Nightly Build JDK 17: latest-frameworks job red since 2026-11-28 — quarkiverse-langchain4j 2.0.0 pins Quarkus 4.0.0, which requires Java 21可能已有人在做 @uhhgxg 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 95/100
langchain4j/langchain4j#7344 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 75/100
cristianEncarnacion/ferroreport#149 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 60/100
quelea-projection/Quelea#749 ·
维护者通常 1 天内回复
-
free_port can hand one port to two callers, so the fixed-port http tests fail in parallel runs可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 92/100
erkamyaman/rust-anything#963 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 76/100