-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Beats misreport established Kafka connection #34177
Comments
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
The real connection to Kafka is only created when the first event is sent, if the Kafka host is not reachable you will see some errors in the logs like this:
The log message The best way to test the connection to an output is to use
Anyway, I agree the log message is misleading. |
Hi! We're labeling this issue as |
When using Kafka as output, beats will claim that the connection to the broker was established, even if it is impossible because the host in question cannot be reached.
In a real-world scenario, a firewall between the two hosts that accidentally blocks the traffic has the exact same effect.
Example output configuration (as used in production, but with fake values for host/port/auth):
The text was updated successfully, but these errors were encountered: