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 摘要。