问题
I want to debug some Kafka topics so I know if the consumer or producer is at fault here.
Is there a UI for Kafka where I can see what messages a topic contain? A dumper would also be nice so I can search for stuff on my own.
回答1:
We use Landoop's Kafka Topics UI, which is pretty good. You can see topic contents and information (e.g. number of partitions, configuration, etc) and also export topic contents.
回答2:
I'll second Yoni Gibb's suggestion of the Landoop product. I also use it in development and find it very useful; although you may need to tweak a few settings around timeout and size in order to see all messages. Easy to install, just pull the Docker image.
Kafkacat is useful too, but it's not quite as good for being able to monitor many topics at once and be left running.
来源:https://stackoverflow.com/questions/54236902/kafka-topic-viewer