Skip to content

Add configurable connections_max_idle for topics#7017

Open
bagmarnikhil wants to merge 1 commit into
opensearch-project:mainfrom
bagmarnikhil:feature/kafka-source-connections-max-idle
Open

Add configurable connections_max_idle for topics#7017
bagmarnikhil wants to merge 1 commit into
opensearch-project:mainfrom
bagmarnikhil:feature/kafka-source-connections-max-idle

Conversation

@bagmarnikhil

Copy link
Copy Markdown
Contributor

Description

Exposes Kafka's connections.max.idle.ms as a per-topic connections_max_idle option on the Kafka source, so operators can have the consumer recycle idle connections sooner than the client default (540000ms). Defaults to 540000ms, so existing pipelines are unchanged. Brings the source in line with the sink, which already exposes this option.

Issues Resolved

Resolves #7016

Check List

  • New functionality includes testing.
  • Commits are signed with a real name per the DCO.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Expose Kafka's connections.max.idle.ms as a per-topic connections_max_idle
option on the Kafka source. This lets operators recycle idle connections
before brokers that close them early.

Signed-off-by: Nikhil Bagmar <nikhilbagmar73@gmail.com>
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

Successfully merging this pull request may close these issues.

Support configurable connections.max.idle.ms on the Kafka source

1 participant