Clarify JDBC SSL migration from sslmode to ssl_mode

Offen Anfängerfreundlich
#3,429 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
72/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
java

Rechercherichtung

Lies die JDBC-Hauptdokumentation, die Versionshinweise zu v0.10.0 und die referenzierten Issues #2874, #2389 und #2819, um das Migrationsverhalten und die Standardwerte zu bestätigen. Vergleiche das aktuelle Dataflow-Beispiel für BigQuery zu ClickHouse mit den URL-Hinweisen für JDBC V2. Füge einen Migrationsabschnitt hinzu, der die Unterstützung des alten sslmode, akzeptierte Werte und Standardwerte, die Zuordnung von NONE zu TRUST, URL-Beispiele und die Verifizierungsrisiken von TRUST behandelt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Java
Sterne
1.6k
Forks
657
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
36

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ClickHouse/clickhouse-java

Alle Issues in ClickHouse/clickhouse-java

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.