Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't default ADVERTISED_PORT if listeners are configured
If configuring listeners (and/or advertised.listeners) to support a configuration with both PLAINTEXT and SSL endpoints[1], you must not set either of advertised.{host,port}, otherwise the broker will only create the PLAINTEXT endpoint. advertised.host won't be defaulted unless another env var is set, but without this patch there was no way to prevent advertised.port from being defaulted when not present. [1]: http://docs.confluent.io/2.0.0/kafka/incremental-security-upgrade.html
- Loading branch information