title: How to specify a byte-array serializer/deserializer in Kafka-Python
body: <p>There is an <code>org.apache.kafka.common.serialization.ByteArraySerializer</code> class in Kafka's Producer API for Java and a <code>org.apache.kafka.common.serialization.ByteArrayDeserializer</code> for the Consumer API.</p>
  
  <p>Are there equivalent classes if you're working with Kafka in Python?</p>