Skip to content

Support more consumer options#161

Open
Premwoik wants to merge 4 commits intospreedly:masterfrom
Premwoik:add-more-opts
Open

Support more consumer options#161
Premwoik wants to merge 4 commits intospreedly:masterfrom
Premwoik:add-more-opts

Conversation

@Premwoik
Copy link

This PR adds support for the following brod_consumeropts:

  • sleep_timeout (default: 1000ms)
  • prefetch_bytes (default: 100KB)
  • prefetch_count (default: 10)

They are useful when you want to optimise the consumer, and I'm not sure why Kaffe doesn't allow you to configure them

@TylerWitt
Copy link
Contributor

Ah, the config tests need to be fixed up. I can get around to it at some point, but if you did it we would get to these changes faster!

@Premwoik
Copy link
Author

@TylerWitt Thanks, I will try to fix them

@Premwoik
Copy link
Author

@TylerWitt tests fixed

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