When setting compression.type=zstd on the broker, the consumer fails to read any messages, reporting WARNING:kafka.consumer.fetcher:Unknown error fetching data for topic-partition TopicPartition(topic='test', partition=0). Switching to compression.type=gzip or to producer-side compression (even with zstd!) fixes the issue, also for historical messages.