This PR contains a few fixes to allow Kafka TLS connections to services like AWS MSK.
Don't require TLS.caCertFiles. TLS connections will work without this if the Kafka certificate is signed by a root certificate recognized by the OS (like globally trusted roots).
If secure is true, don't convert the hostname into an IPv4 address. In most cases the hostname and not the IP is required for TLS authentication.
In addition
The clickhouse-go and ch-go dependencies have to updated to the latest release.
The "Dial Timeout" for clickhouse-go has been made configurable, since 1 second is sometimes not enough to wake up some cloud services.
The default memory used by the Franz Kafka client has been reduced to 20MB, as the previous values used would result in OOM errors even with environments with 16GB of memory.
This build has been successfully tested again AWS MSK and ClickHouse Cloud
This PR contains a few fixes to allow Kafka TLS connections to services like AWS MSK.
In addition
This build has been successfully tested again AWS MSK and ClickHouse Cloud