Possible bug in Kafka metadata

(Steve Crickett) #1


I' have been playing around with using the Kafka input plugin and I wanted to use some of the metadata to assist with debugging some issues. I output the metadata to stdout with the metadata option set to true, and sure enough I could see the metadata, but the values don't seem to match up with the field names.

"kafka" => {
"key" => "1531062676",
"partition" => 0,
"timestamp" => -1,
"offset" => 117661020,
"topic" => "nx-cdrs",
"consumer_group" => "nx-cdrs-1"

Looks to me as if the key and timestamp fields have been mixed up as the value in the key field is the value i was expecting to see in the timestamp field.

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.