One option is to implement the producer applications in such a way that each producer includes its own IP address in the payload of the messages it produces.
-Michael On Tue, Jul 26, 2016 at 10:15 AM, Gourab Chowdhury <gourab....@gmail.com> wrote: > Hi, > > I am working on a project that includes Apache Kafka. My consumer is a > Apache Spark and I am try to log the Global IP from where the message was > generated, to verify from which device/system? > > Ofcourse Kafka know the IP of the producer, since it can read the packets. > Can it append it in the message? > > Thanks, > Gourab >