Skip to content

Support more consumer options - #161

Merged
TylerWitt merged 5 commits into
spreedly:masterfrom
Premwoik:add-more-opts
Jul 22, 2026
Merged

Support more consumer options#161
TylerWitt merged 5 commits into
spreedly:masterfrom
Premwoik:add-more-opts

Conversation

@Premwoik

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor Author

@TylerWitt Thanks, I will try to fix them

@Premwoik

Copy link
Copy Markdown
Contributor Author

@TylerWitt tests fixed

@TylerWitt
TylerWitt merged commit 1e0facb into spreedly:master Jul 22, 2026
5 of 6 checks passed
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