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

Increasing Max-Poll-Records to required page size as it fixes sorting by newest #1691

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Increasing Max-Poll-Records to required page size as it fixes sorting by newest #1691

merged 1 commit into from
Apr 4, 2024

Conversation

jonasvoelcker
Copy link
Contributor

This PR fixes the newest sorting (not the search).

The max poll size was lowered below the required page size and this resulted in each consumer only fetching the amount of entries from its partition. As we use 18 partitions in our setup this resulted in a mix of 54 entries with 3 entries from each partition. The pagination did therefore also not work.

As the amount of requested entries is just 50 and not 50000, this change does not result in a significant decrease in performance.

@tchiotludo tchiotludo merged commit 351da0a into tchiotludo:dev Apr 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants