Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka features should give better errors on authentication failure #26294

Closed
faec opened this issue Jun 14, 2021 · 3 comments · Fixed by elastic/sarama#15
Closed

Kafka features should give better errors on authentication failure #26294

faec opened this issue Jun 14, 2021 · 3 comments · Fixed by elastic/sarama#15
Assignees
Labels
Team:Elastic-Agent Label for the Agent team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team v8.1.0

Comments

@faec
Copy link
Contributor

faec commented Jun 14, 2021

Our Kafka features (the Filebeat input and Libbeat output) are based on Sarama, which handles authentication to the Kafka cluster. With some authentication types, notably Kerberos, Kafka doesn't always pass through the cause of an authentication failure, and reports it as a generic disconnection. This makes it hard to troubleshoot configuration errors and potential bugs arising from Kafka / Kerberos authentication.

We already have a fork of Sarama including fixes for other issues we've encountered, we should update it to preserve authentication errors and pass them through to the error channel (and hopefully contribute it back upstream if we can find an approach everyone is happy with).

@faec faec added the Team:Elastic-Agent Label for the Agent team label Jun 14, 2021
@faec faec self-assigned this Jun 14, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@jlind23
Copy link
Collaborator

jlind23 commented Mar 1, 2022

@faec Any update here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent Label for the Agent team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team v8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants