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

Decrease the sleep when pausing the Kafka consumer on circuit breaker #4947

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

dlvenable
Copy link
Member

Description

The kafka buffer pauses reading from Kafka when the circuit breaker is tripped. It was pausing for 10 seconds which is quite a long time. This PR reduces the pause to 1 second.

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.

…he circuit breaker is in use.

Signed-off-by: David Venable <dlv@amazon.com>
@dlvenable dlvenable merged commit 72063d6 into opensearch-project:main Sep 13, 2024
48 of 50 checks passed
@dlvenable dlvenable deleted the decrease-kafka-sleep branch September 14, 2024 15:43
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