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

Make partitionPreFetchBufferLimit value 0 disable prefetching #1091

Merged
merged 9 commits into from
Oct 29, 2023

Conversation

erikvanoosten
Copy link
Collaborator

@erikvanoosten erikvanoosten commented Oct 28, 2023

Before you needed to use ConsumerSettings.partitionPreFetchBufferLimit(1) to disable pre-fetching. I found that very confusing. After this change you can disable pre-fetching with ConsumerSettings.partitionPreFetchBufferLimit(0), or simply with ConsumerSettings.withoutPartitionPreFetching.

Also: attempt to make test a consumer timeout interrupts the stream and shuts down the consumer stable by disabling prefetching

Also:
- add ConsumerSettings.withoutPartitionPreFetching
- attempt to make test `a consumer timeout interrupts the stream and shuts down the consumer` stable by disabling prefetching
Copy link
Collaborator

@svroonland svroonland left a comment

Choose a reason for hiding this comment

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

👍

@erikvanoosten erikvanoosten merged commit a4ec8e0 into master Oct 29, 2023
14 checks passed
@erikvanoosten erikvanoosten deleted the flakytest branch October 29, 2023 20:08
@erikvanoosten erikvanoosten mentioned this pull request Nov 15, 2023
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.

2 participants