Clarify JDBC SSL migration from sslmode to ssl_mode

オープン 初心者向け
#3,429 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
36

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ClickHouse/clickhouse-java のほかの issue

ClickHouse/clickhouse-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。