|
9 | 9 | - No more builds for non-lts Java versions - no more Java 9 release builds. |
10 | 10 | - Lowest supported Java version will be 11. |
11 | 11 | - Java 11 support will be ended before the end of 2023. |
12 | | - - It is recommended to use Java 21. |
| 12 | + - It is recommended to use Java 21. |
| 13 | + |
| 14 | +### Important Changes |
| 15 | +- [Client-V1] Fix for handling DateTime without timezone when `session_timezone` is set. Now server timezone |
| 16 | +is parsed from server response when present (https://github.com/ClickHouse/clickhouse-java/issues/1464) |
13 | 17 |
|
14 | 18 | ### New Features |
15 | 19 | - [Client-V1/Apache HTTP] More configuration parameters for connection management. Useful for tuning performance. |
16 | 20 | (https://github.com/ClickHouse/clickhouse-java/pull/1771) |
17 | 21 | - com.clickhouse.client.config.ClickHouseClientOption#CONNECTION_TTL - to configure connection time-to-live |
18 | 22 | - com.clickhouse.client.http.config.ClickHouseHttpOption#KEEP_ALIVE_TIMEOUT - to configure keep-alive timeout |
19 | | - - com.clickhouse.client.http.config.ClickHouseHttpOption#CONNECTION_REUSE_STRATEGY - to configure how connection |
20 | | -are resued in the connection pool. |
| 23 | + - com.clickhouse.client.http.config.ClickHouseHttpOption#CONNECTION_REUSE_STRATEGY - defines how connection pool behaves. |
| 24 | +If `FIFO` is selected then connections are reused in the order they were created. It results in even distribution of connections. |
| 25 | +If `LIFO` is selected then connections are reused as soon they are returned to the pool. |
| 26 | +Note: only for `APACHE_HTTP_CLIENT` connection provider. |
21 | 27 | - Additionally switched to using LAX connection pool for Apache Connection Manager to improve performance |
22 | 28 | for concurrent requests. |
23 | 29 | - [Client-V2] Connection pool configuration https://github.com/ClickHouse/clickhouse-java/pull/1766 |
24 | 30 | - com.clickhouse.client.api.Client.Builder.setConnectionRequestTimeout - to configure connection request timeout. |
25 | 31 | Important when there are no connections available in the pool to fail fast. |
26 | | - - com.clickhouse.client.api.Client.Builder.setMaxConnections - total max connections per route. |
| 32 | + - com.clickhouse.client.api.Client.Builder.setMaxConnections - configures how soft limit of connections per host. |
| 33 | +Note: Total number of connections is unlimited because in most cases there is one host. |
27 | 34 | - com.clickhouse.client.api.Client.Builder.setConnectionTTL - to limit connection live ignoring keep-alive from server. |
28 | 35 | - com.clickhouse.client.api.Client.Builder.setConnectionReuseStrategy - to configure how connections are used. |
29 | 36 | Select FIFO to reuse connections evenly or LIFO (default) to reuse the most recently active connections. |
30 | 37 | - [Client-V2] All operations are now executed in calling thread to avoid extra threads creation. |
31 | 38 | Async operations can be enabled by `com.clickhouse.client.api.Client.Builder.useAsyncRequests` (https://github.com/ClickHouse/clickhouse-java/pull/1767) |
32 | | -- [Client-V2] Spring Demo Service as usage example (https://github.com/ClickHouse/clickhouse-java/pull/1765) |
33 | | -- [Client-V2] More examples for using text based formats (https://github.com/ClickHouse/clickhouse-java/pull/1752) |
34 | 39 | - [Client-V2] Content and HTTP native compression is supported now Currently only LZ4 is available. (https://github.com/ClickHouse/clickhouse-java/pull/1761) |
35 | 40 | - [Client-V2] HTTPS support added. Required to communicate with ClickHouse Cloud Services. |
36 | 41 | Client certificates are supported, too. (https://github.com/ClickHouse/clickhouse-java/pull/1753) |
37 | 42 | - [Client-V2] Added support for HTTP proxy (https://github.com/ClickHouse/clickhouse-java/pull/1748) |
38 | 43 |
|
| 44 | +### Documentation |
| 45 | +- [Client-V2] Spring Demo Service as usage example (https://github.com/ClickHouse/clickhouse-java/pull/1765) |
| 46 | +- [Client-V2] Examples for using text based formats (https://github.com/ClickHouse/clickhouse-java/pull/1752) |
| 47 | + |
| 48 | + |
39 | 49 | ### Bug Fixes |
40 | 50 | - [Client-V2] Data is read fully from a stream. Important for Cloud instances (https://github.com/ClickHouse/clickhouse-java/pull/1759) |
41 | 51 | - [Client-V2] Timezone from a server response is now used to parse DateTime values (https://github.com/ClickHouse/clickhouse-java/pull/1763) |
|
0 commit comments