Parsely / pykafka

Apache Kafka client for Python; high-level & low-level consumer/producer, with great performance.
http://pykafka.readthedocs.org/
Apache License 2.0
1.12k stars 232 forks source link

simpleconsumer.consume return type different #1002

Open lambgong opened 4 years ago

lambgong commented 4 years ago

PyKafka version: 2.8.1-dev.2 Kafka version: 0.10

When i use python 2.7 simpleconsumer.consume return string type msg

But when i use python 3.6 simpleconsumer.consume return bytes type msg

Is that normal? Thanks!