Skip to content

Add metric tracking time between poll calls for kafka consumer#6372

Merged
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:KafkabufferImprovements
Dec 31, 2025
Merged

Add metric tracking time between poll calls for kafka consumer#6372
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:KafkabufferImprovements

Conversation

@graytaylor0

@graytaylor0 graytaylor0 commented Dec 30, 2025

Copy link
Copy Markdown
Member

Description

This change adds a metric to the KafkaCustomerConsumer actualPollInterval that tracks how often the consumers are calling poll. This metric is useful because if poll is not called often enough based on the max.poll.interval.ms setting, there will be Rebalances on the kafka topic.

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • 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.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Taylor Gray <tylgry@amazon.com>
@graytaylor0 graytaylor0 force-pushed the KafkabufferImprovements branch from 7a458cc to e8666fe Compare December 30, 2025 20:31

@kkondaka kkondaka left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for renaming the metric as discussed.

@graytaylor0 graytaylor0 merged commit 829a9cf into opensearch-project:main Dec 31, 2025
47 of 50 checks passed
wandna-amazon pushed a commit to wandna-amazon/data-prepper that referenced this pull request Jan 8, 2026
…earch-project#6372)

Signed-off-by: Taylor Gray <tylgry@amazon.com>
Signed-off-by: Nathan Wand <wandna@amazon.com>
simonelbaz pushed a commit to simonelbaz/data-prepper that referenced this pull request Jan 31, 2026
…earch-project#6372)

Signed-off-by: Taylor Gray <tylgry@amazon.com>
Signed-off-by: Simon ELBAZ <elbazsimon9@gmail.com>
simonelbaz pushed a commit to simonelbaz/data-prepper that referenced this pull request Jan 31, 2026
simonelbaz pushed a commit to simonelbaz/data-prepper that referenced this pull request Jan 31, 2026
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.

3 participants