On 16/02/2021 06:33, Akhilesh Chenicheri wrote:
> Hi Team,
>
> This is regarding the extraction of metadata at topic level in kafka.
> Please let me know where is the metadata in kafka getting stored and how
> could we extract it at topic or message level.
>

hi Akhilesh,

metadata is stored next to each message. you can see it running 
kafka-console-consumer.sh and '--property'.

eg, to see the the timestamp of a message:

kafka-console-consumer  --bootstrap-server your_kafka:9092  --from-beginning 
--topic topic_name --property print.timestamp=true

regards,

fabio pardi





Reply via email to