rabbitmq / rabbitmq-stream-go-client

A client library for RabbitMQ streams
MIT License
170 stars 20 forks source link

Commit Strategy for Super Streams #303

Closed jsearles closed 6 months ago

jsearles commented 6 months ago

Is your feature request related to a problem? Please describe.

The offset commit strategy does not appear to be available for configuration for Super Stream consumers. (I'd like to continue to use auto commit, but it would be useful to be able to tweak the flush interval & message count.)

Describe the solution you'd like

Would like these options exposed to super stream consumers (assuming they are compatible).

Describe alternatives you've considered

No response

Additional context

No response

Gsantomaggio commented 6 months ago

Hi @jsearles

Makes sense!

We can expose the AutoCommitStrategy in the same way we do with the regular consumers so it will be possible to o tweak the flush interval & message count