Skip to content

[client-v2] Implement adoption of old configuration parameters. #2174

Description

@chernser

Client V2 has removed (deprecated) some V1 configuration parameters. That was done to simplify and remove redundant configuration, and some parameters were renamed for better readability. However, users may struggle with migration because they have to re-implement client configuration in their applications. Client V2 should have a friendly interface:

  • It should accept renamed parameters.
  • Deprecated parameters may be present for some time.
  • Configuration migration guide should be written.

Activity

  1. added
    client
    on Feb 25, 2025
  2. github-actions commented on Feb 26, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

  3. polyglotAI-bot commented on Nov 28, 2026

    @polyglotAI-bot
    Collaborator

    Recommendation: Keep open — maintainer decision
    client-v2 still rejects v1 property names, and the v1-to-v2 key converter in migration-helpers/ is not published. Decide whether client-v2 accepts the old names itself, or whether a published helper is enough. Open #2892 tracks the rest of the guide.

    • Category: Feature
    • Classification: impact: none · area: Configuration (v1 property names)
    • Status on main: Not supported on main — read ClientConfigProperties and migration-helpers/ on 8480ca00.
    • Breaking change: No — can be done without a break, if names that v2 also uses (max_execution_time) keep their v2 meaning.
    • Duplicates / related: Related: Clarify JDBC SSL migration from sslmode to ssl_mode #3429 (asks whether jdbc-v2 accepts the v1 name sslmode).

    Analysis: ClientConfigProperties.parseConfigMap throws ClientMisconfigurationException ("Unknown and unmapped config properties") for each key that it does not know (ClientConfigProperties.java:552), so build() fails for v1 names such as connect_timeout and sslmode; with ignore_unknown_config_key it only logs and ignores them. The only old alias is product_name (ClientConfigProperties.java:251). ConfigurationMigrationHelper maps the v1 keys, but migration-helpers is not a module of the root pom.xml (lines 43–58), so no release contains it. The guide part exists: docs/clickhouse-docs/client.mdx:1280 maps the v1 options.

    Automated triage by Polyglot AI. A maintainer makes the final decision.

  4. added
    configuration
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientconfigurationenhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions