Re: while publishing message need to add multiple keys in a single message

2016-11-28 Thread Tauzell, Dave
Kafka doesn't have the concept of message headers like some other messaging 
systems.

You will have to create a payload that contains these  headers and whatever 
bytes you are sending.

Dave

> On Nov 28, 2016, at 16:47, Prasad Dls  wrote:
>
> Hi,
>
> While publishing each message (single message) to Kafka, I need to add
> below headers/key
>
>
> ID:  123456
> TYPE:  xyz
> EVENTE: A
> OPERATION: Insert
> createTimeStampt: 2016-11-24T19:41:23.354Z
> updatedTimeStamp: 2016-11-30T19:41:23.354Z
>
> Please help me on this, how can i add all these into single message.
>
>
> Thanks
> Prasad
This e-mail and any files transmitted with it are confidential, may contain 
sensitive information, and are intended solely for the use of the individual or 
entity to whom they are addressed. If you have received this e-mail in error, 
please notify the sender by reply e-mail immediately and destroy all copies of 
the e-mail and any attachments.


while publishing message need to add multiple keys in a single message

2016-11-28 Thread Prasad Dls
Hi,

While publishing each message (single message) to Kafka, I need to add
below headers/key


ID:  123456
TYPE:  xyz
EVENTE: A
OPERATION: Insert
createTimeStampt: 2016-11-24T19:41:23.354Z
updatedTimeStamp: 2016-11-30T19:41:23.354Z

Please help me on this, how can i add all these into single message.


Thanks
Prasad