For twitter source it is creating a 30 bit header for each kafka messages if we use custom kafka consumer other than @StreamListener
(Sink).
@StreamListener
sends the messages correctly to the annotated method (no header). The problem is for each source the header size varies.
So how can I dynamically understand the header size of the messages since I'm using custom kafka consumer.?
Or How can I remove the header for each message.?
UPDATE:-
Please find below the message received in kafka-console-consumer
while using a TCP Source.
�
contentType"application/octet-stream"hello world
I just need to get the message only. In this case, hello world