Unable to create Kafka consumer from given configuration after upgrade to 8.4.0

Hi all,

Today Elastic and Kibana was upgraded from 7.17.3 to 8.4.0 without problems. This is an DEV/QA environment.

After that, I upgrade logstash also from 7.17.3 to 8.4.0. Since logstash upgrade it can't connect to Kafka anymore (it should read from Kafka and write into Elastic). Example error line:

[2022-08-30T13:33:38,414][ERROR][logstash.inputs.kafka ][dev-apigw-pipeline][168d7a8268b66d5a6a4059b5f8e621be4369aa2987752bb0bd46ca03bae685db] Unable to create Kafka consumer from given configuration {:kafka_error_message=>#<Java::OrgApacheKafkaCommon::KafkaException: Failed to construct kafka consumer>, :cause=>#<Java::OrgApacheKafkaCommon::KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but the Kafka client code does not currently support obtaining a password from the user. not available to garner authentication information from the user>}

I'm I missing some "new parameter" in logstash.yml (or any other config file)?

BTW, we have one other logstash, still on version 7.17.3, that is able to read from kafka and write to same Elastic cluster.

Thank you

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.