I use this to consume data :
kafka-console-consumer.sh --bootstrap-server kafka01:9092 --topic test --consumer.config /test/kafka/config/consumer.properties
consumer.properties file has the following setting :
[...]
bootstrap.servers=kafka01:9092,kafka02:9092,kafka03:9092
[...]
So I'm asking what takes precedence regarding bootstrap.server ? What will be the bootstrap server which will be finally finally ? :
Only kafka01:9092 (as specified with the parameter "--bootstrap-sever) ? Or kafka01:9092,kafka02:9092,kafka03:9092 as specified in consumer.properties file ?
Thanks !
--bootstrap-server
configuration. – mike