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

Connection Max Idle Configurations #1725

Open
AdrianMcGrathFlailsoft opened this issue Nov 22, 2024 · 0 comments
Open

Connection Max Idle Configurations #1725

AdrianMcGrathFlailsoft opened this issue Nov 22, 2024 · 0 comments

Comments

@AdrianMcGrathFlailsoft
Copy link

Is your feature request related to a problem? Please describe.
I am attempting to solve an issue with Azure EventHub, where we are seeing intermittent ECONNRESET and ETIMEDOUT errors. I came across another Kafka Library that seems to make claims about Azure closing idle connections. The library recommends setting the metadata.max.age.ms and connections.max.idle.ms configurations.

In KafkaJS, I found metadataMaxAge on the consumer and producer configs, so I set those accordingly. The problem still remained. I think I might need to set connections.max.idle.ms, but I cannot figure out how to set that in KafkaJS.

Other library for reference: https://github.com/Azure/azure-event-hubs-for-kafka/blob/master/CONFIGURATION.md#producer-and-consumer-configurations

Describe the solution you'd like
Some way to set the connections.max.idle.ms configuration.
I'm also open to other suggestions if anyone has experienced this issue with EventHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant