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

requestBackPressure() doesn't take effect #356

Open
zailushangde opened this issue Jul 7, 2020 · 0 comments
Open

requestBackPressure() doesn't take effect #356

zailushangde opened this issue Jul 7, 2020 · 0 comments

Comments

@zailushangde
Copy link

Hi Bill, in order to throttle the traffic, the requestBackPressure method is confirmed be called in the debug mode, which is hardcoded as below:

override def requestBackPressure(): Optional[lang.Long] = Optional.of(1L)

override def requestBuffer(): Optional[Integer] = Optional.empty()

however, the size of the consumed events is still same as the initial configuration StreamConfiguration().batchLimit(nakadiConfig.batchSize).

Any clue what I missed there, please?

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

No branches or pull requests

1 participant