Open
Description
Describe the bug
Many of the reader and consumer group tests sporadically fail. Here are a few recent examples. Some of these are "unsafe" tests, which we only recently started testing against in CI so I think that explains the recent increase in test failures.
TestReaderOnNonZeroPartition/topic_and_partition_should_now_be_included_in_header (Kafka 2.7.1)
ReaderTest (kafka 2.3.1)
CompressTest (kafka 2.1.1)
TestReaderConsumerGroup/rebalance_across_many_partitions_and_consumers (kafka 2.7.1)
Expected Behavior
Tests pass every time they are ran