argoproj/argo-events

Configurable batch amount for JetStream EventBus sensor pull consumer

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
When many messages await in the Stream, it would be more efficient to pull more than one message per batch into the pull consumer.

Describe the solution you'd like
Add a config flag to specify the amount of messages to pull per batch.

Additional context
Happy to send a PR with the changes but I'm unsure which way it should be configurable. Env variable seems not discoverable enough. Is there a place in an existing CRD to place sensor specific configuration?


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.