These resources provide a great view into how to setup kafka security (encryption + ssl) and good idea of kafka listeners.
- setting up ssl auth
- listeners and advertised-listeners: a, b, c, d(from confluent guy - Robin M)
But this seems to work well in static environments, what about dynamic environments.
When one uses K8S, and containers (docker with k8s over EC2 etc) or some other orchestration framworks, the hostnames and the number of replicas (even without autoscaling scenario) are not known in advance.
So how can we create the certificates and the keystores and the truststores on the fly. And how to configure the listeners
values on the fly in server.properties file.