Kafka 0.8 compatibility