Hi, Including IP address in the payload of the messages is possible.
But if my producer is in a private network, how will the producer know the Gateway IP, from where message is being sent? Thanks Gourab On Thu, Jul 28, 2016 at 3:29 PM, Sivakumaran S <siva.kuma...@me.com> wrote: > +1 Vote. Embody all metadata about the source at the application layer > itself, if possible within the 1500 bytes limit of TCP packet. > > Regards, > > Sivakumaran > > On 28-Jul-2016, at 10:48 AM, Michael Noll <mich...@confluent.io> wrote: > > > > 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 > >> > >