You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[client-v2] Implement adoption of old configuration parameters. #2174
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.
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!
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.
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.
Activity
github-actions commentedon Feb 26, 2026
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!
polyglotAI-bot commentedon Nov 28, 2026
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.main: Not supported on main — readClientConfigPropertiesandmigration-helpers/on8480ca00.max_execution_time) keep their v2 meaning.sslmode).Analysis:
ClientConfigProperties.parseConfigMapthrowsClientMisconfigurationException("Unknown and unmapped config properties") for each key that it does not know (ClientConfigProperties.java:552), sobuild()fails for v1 names such asconnect_timeoutandsslmode; withignore_unknown_config_keyit only logs and ignores them. The only old alias isproduct_name(ClientConfigProperties.java:251).ConfigurationMigrationHelpermaps the v1 keys, butmigration-helpersis not a module of the rootpom.xml(lines 43–58), so no release contains it. The guide part exists:docs/clickhouse-docs/client.mdx:1280maps the v1 options.Automated triage by Polyglot AI. A maintainer makes the final decision.