logstash-plugins / logstash-input-kafka

Kafka input for Logstash
Apache License 2.0
139 stars 122 forks source link

Multiple Kafka inputs - 7.x #315

Closed robrankin closed 4 years ago

robrankin commented 5 years ago

It appears that multiple Kafka inputs all use the last defined set of bootstrap_servers, assuming the group coordinator in the below log output is the same.

The 1st defined Kafka input is never used.

Removing either one of the defined inputs allows the remaining input to work correctly.

robrankin commented 5 years ago

In fact, "The 1st defined Kafka input is never used." doesn't appear to be correct after repeated restarting. Seems random.

vbohata commented 5 years ago

jaas_path is JVM global config. Can not be two different configs for the same Java process. To solve this I created following pull request: https://github.com/logstash-plugins/logstash-input-kafka/pull/313

yaauie commented 4 years ago

I believe this issue is resolved with documentation about the global nature of the jaas_path setting and the introduction of sasl_jaas_config.