Is this 0.8? If so, the broker list is only used for retrieving metadata.
The producer then connects to the broker using the returned metadata info.
The hostname in the metadata depends on the OS setting for the host (see
https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-OnEC2%2Cwhycan%27tm
Hi,
I'm using Kafka of Java client to send events to my data center, but found that
the producer called localhost: 9092.
Actually , my broker list doesn't include localhost. why ?
Thanks.
Best Regards,
yanbo.ai