Skip to content

Kafka buffer metrics for write timeout counts and time elapsed#6506

Merged
dlvenable merged 1 commit intoopensearch-project:mainfrom
dlvenable:fix-kafka-buffer-metrics
Feb 13, 2026
Merged

Kafka buffer metrics for write timeout counts and time elapsed#6506
dlvenable merged 1 commit intoopensearch-project:mainfrom
dlvenable:fix-kafka-buffer-metrics

Conversation

@dlvenable
Copy link
Copy Markdown
Member

Description

Corrects Kafka buffer metrics related to write timeouts and write time elapsed. This is solved by implementing writeBytes in AbstractBuffer and adding a doWriteBytes method that throws by default. This keeps the default behavior of throwing, but with correct metric reporting.

Issues Resolved

N/A

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.

…e elapsed. This is solved by implementing writeBytes in AbstractBuffer and adding a doWriteBytes method that throws by default. This keeps the default behavior of throwing, but with correct metric reporting.

Signed-off-by: David Venable <dlv@amazon.com>
@dlvenable dlvenable merged commit ea1a617 into opensearch-project:main Feb 13, 2026
71 of 75 checks passed
@dlvenable dlvenable deleted the fix-kafka-buffer-metrics branch May 1, 2026 21:52
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