I'm porting some Kafka-using code from Python 2.7 to 3.6. My values are Python dicts mapping strings to strings which are serialized with json.dumps(). My keys are simple strings. I haven't been defining a key serializer function. I'm using kafka_2.11-1.0.0 and kafka-python 1.3.4 installed from conda-forge. (That appears to be the latest version from there.)
When sending a message, I get a TypeError which looks like this closed issue: https://github.com/dpkp/kafka-python/issues/1327 I tried explicitly setting the key_serializer and key_deserializer parameters as appropriate, but that didn't change anything. Is there something else I can/must do in my code to solve this problem, or is a update of some sort required? I verified that the object causing the system to barf passes muster with json.dumps(), so the problem appears to be happening deeper in the Kafka ecosystem. Thanks, Skip Montanaro
