Unfortunately there's no ID for the producer of messages -- the client ID is included when the request is sent, but it isn't recorded on disk. You *might* be able to dig out the producer of bad messages from the Kafka logs, but there's nothing in the stored data that would lead you directly to the source of bad data.
-Ewen On Mon, Jul 11, 2016 at 10:47 PM, 杨贤达 <xuanda...@163.com> wrote: > Hi, all, > > > > How to know the producers of one topic? > > I always receive some dirty message from somebody , but I don’t know who > produce them. > > Can some cmd help me? > > > > > > xianda -- Thanks, Ewen