clickhouse-java
clickhouse-java copied to clipboard
[client-v2] SNI configuration options
Summary
This PR add configuration option to create mapping between host/ip and SNI. The last one will be set each time SSL socket is created to connect to it.
Closes https://github.com/ClickHouse/clickhouse-java/issues/2434
Checklist
Delete items not relevant to your PR:
- [x] Closes #
- [x] Unit and integration tests covering the common scenarios were added
- [ ] A human-readable description of the changes was provided to include in CHANGELOG
- [ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials