Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent empty requests from paused consumer
When using the new "pause consumer" support (IBM#2005), Sarama would incorrectly submit empty FetchRequests if all of the assigned partitions were paused. This is because we only used Pause to skip adding the topicPartition blocks to the FetchRequest and still went ahead and sent the Fetch even if it was essentially empty:
- Loading branch information