kafka-python
kafka-python copied to clipboard
How to verify compress type of the message in a topic?
I have too many topics(maybe 2000). I want to verify compress type of all topic.
I know kafka self's command kafka-dump-log.sh
can show the compress type of message. But it must to login the kafka server and execute the command with the log file name.
I think this way is too slow.Does kafka-python support it?
I know pykafka has a consumer attributes named .compression_type
. It can help me to verify the producer's compress type. Does kafka-python has a similar comsumer attributes?