[fix] kafka input Test() panics when broker connection fails#49758
[fix] kafka input Test() panics when broker connection fails#49758barkhayot wants to merge 3 commits intoelastic:mainfrom
Conversation
🤖 GitHub commentsJust comment with:
|
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe changes modify the Kafka input error handling behavior. When client initialization fails in the ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
For instance, this is a panic in the input package but in a test-only function, the input itself is not affected. Either way we should prevent panics from happening. Updated your PR description to include a closes comment. |
@mauri870 Thanks for comment! Will be opening a follow-up PR later on to address the same issue in the input itself as well. |
Closes #49376.