IBM / sarama

Sarama is a Go library for Apache Kafka.
MIT License
11.38k stars 1.75k forks source link

Support batch offset fetch requests #2827

Open hyunseo0404 opened 6 months ago

hyunseo0404 commented 6 months ago

Since OffsetFetch API version 8, it supports fetching offsets for multiple consumer groups in a single request as introduced in KIP-709. It seems like Sarama currently does not support fetching offsets for multiple consumer groups (<= OffsetFetch API version 7).

We need to regularly fetch current offsets for multiple consumer groups for monitoring purposes, and it looks like this could help reduce the overhead of making a separate request for each consumer group every time.

Would it be possible to add support for the recent version of the OffsetFetch API?

github-actions[bot] commented 3 months ago

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.