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

Add unit test for QueueSizeBasedFetchStrategy #1017

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

erikvanoosten
Copy link
Collaborator

@erikvanoosten erikvanoosten commented Aug 9, 2023

This PR introduces abstract class PartitionStream to only expose the relevant fields to FetchStrategy (also it makes it easier to create test values).

@erikvanoosten
Copy link
Collaborator Author

erikvanoosten commented Oct 11, 2023

@svroonland @guizmaii Can you take a look at this PR again please?

@erikvanoosten erikvanoosten force-pushed the fetchstrategy-unittest branch from 92309f2 to c7f8ae2 Compare October 14, 2023 10:10
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.

LGTM, let's wait for Jules' review though

In addition, parameter `maxPartitionQueueSize` is now really a maximum and not the up-to-but-not-including value.
@erikvanoosten erikvanoosten force-pushed the fetchstrategy-unittest branch from c7f8ae2 to 08e1b1e Compare October 16, 2023 18:19
@erikvanoosten erikvanoosten merged commit 5c01343 into master Oct 16, 2023
7 of 9 checks passed
@erikvanoosten erikvanoosten deleted the fetchstrategy-unittest branch October 16, 2023 18:24
@erikvanoosten
Copy link
Collaborator Author

erikvanoosten commented Oct 16, 2023

@guizmaii Sorry. I just noticed that we are still missing your approval as requested by @svroonland . Would you like me to roll this back?

@guizmaii
Copy link
Member

@erikvanoosten Steve's approval is enough. Thanks for asking 🙂

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