Hi

I just upgraded one node from kafka 0.10.1 to 1.0.0.
And I've discovered a bug.

Having this config

listeners=PLAINTEXT://0.0.0.0:6667

and NOT setting port, will result to port using it's default 9092.
And when the broker starts, it advertises wrong port:
[2018-01-23 12:08:56,694] INFO Registered broker 10321017 at path
/brokers/ids/10321017 with addresses:
EndPoint(kafka01.se-ix.delta.prod,9092,ListenerName(PLAINTEXT),PLAINTEXT)
(kafka.utils.ZkUtils)

And documentations states this about *port*
DEPRECATED: only used when `listeners` is not set. Use `listeners` instead.
the port to listen and accept connections on

So either the broker is doing it wrong, or the documentation is.

Regards,
Elias Abacioglu

Reply via email to