Skip to content

Commit

Permalink
Merge pull request #1847 from ClickHouse/clientv2_make_newimpl_default
Browse files Browse the repository at this point in the history
[client-v2] Make new transport layer implementation as default
  • Loading branch information
chernser authored Oct 1, 2024
2 parents 38fe7fb + a2fa679 commit 8baa9d8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions client-v2/src/main/java/com/clickhouse/client/api/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static class Builder {

// Read-only configuration
private Map<String, String> configuration;
private boolean useNewImplementation = false;
private boolean useNewImplementation = true;

private ExecutorService sharedOperationExecutor = null;

Expand Down Expand Up @@ -581,8 +581,8 @@ public Builder setExecutionTimeout(long timeout, ChronoUnit timeUnit) {
}

/**
* Switches to new implementation of the client.
* @deprecated - do not use - it is only for development
* Switches to new implementation of the client. Default is true.
* @deprecated
*/
public Builder useNewImplementation(boolean useNewImplementation) {
this.useNewImplementation = useNewImplementation;
Expand All @@ -599,7 +599,6 @@ public Builder setHttpCookiesEnabled(boolean enabled) {
/**
* Defines path to the trust store file. It cannot be combined with
* certificates. Either trust store or certificates should be used.
*
* {@see setSSLTrustStorePassword} and {@see setSSLTrustStoreType}
* @param path
* @return
Expand Down

0 comments on commit 8baa9d8

Please sign in to comment.