Clarify JDBC SSL migration from sslmode to ssl_mode

未关闭 适合新手
#3,429 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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 内容生成。

描述

client documentation jdbc

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:

  1. Whether JDBC V2 accepts the legacy sslmode property name in connection URLs.
  2. The supported ssl_mode values and the default.
  3. The confirmed JDBC compatibility mapping ssl_mode=NONE to ssl_mode=TRUST.
  4. Recommended JDBC V2 URL examples, including whether ssl=true is needed when the URL already uses https.
  5. That TRUST skips 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ClickHouse/clickhouse-java 的其他 Issue

查看 ClickHouse/clickhouse-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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