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

fix: consume multiple schema messages on each consume call #866

Merged

Conversation

jjaakola-aiven
Copy link
Contributor

About this change - What it does

By default the consumer returns only a single message. This creates a very slow startup due a lot of overhead.

By default the consumer returns only a single message. This creates
a very slow startup due a lot of overhead.
@jjaakola-aiven jjaakola-aiven requested review from a team as code owners May 7, 2024 12:06
Copy link
Contributor

@eliax1996 eliax1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@eliax1996 eliax1996 enabled auto-merge May 7, 2024 12:16
@eliax1996 eliax1996 merged commit 46a2086 into main May 7, 2024
8 checks passed
@eliax1996 eliax1996 deleted the jjaakola-aiven-fix-karapace-startup-performance-regression branch May 7, 2024 12:28
@@ -146,6 +150,7 @@ def __init__(
self.offset = OFFSET_UNINITIALIZED
self._highest_offset = OFFSET_UNINITIALIZED
self.ready = False
self.prev_processed_offset = 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used anywhere?

Copy link
Contributor

Choose a reason for hiding this comment

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

too late :-)

Copy link
Contributor

Choose a reason for hiding this comment

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

#867

I've pressed add to merge queue :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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