Clarify JDBC SSL migration from sslmode to ssl_mode

Đang mở Phù hợp với người mới
#3,429 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
databases, documentation

Hướng nghiên cứu

Đọc tài liệu JDBC chính, ghi chú phát hành v0.10.0 và các issue được tham chiếu #2874, #2389 và #2819 để xác nhận hành vi di chuyển và các giá trị mặc định. So sánh ví dụ Dataflow hiện tại từ BigQuery sang ClickHouse với hướng dẫn URL JDBC V2. Thêm một mục di chuyển đề cập đến hỗ trợ sslmode cũ, các giá trị được chấp nhận và mặc định, ánh xạ NONE sang TRUST, ví dụ URL và các rủi ro xác minh của TRUST.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
1.6k
Fork
657
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
36

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ClickHouse/clickhouse-java

Tất cả issue của ClickHouse/clickhouse-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.