Re: Consume Kafka record - Key and offset from kafka
Not totally sure if this is what you are asking, but there isn't a way for them to be added to each record.
The key, timestamp, and offset are all added as flow file attributes, but the key is only added if you are doing one record per flow file since each record could have a different key, so there can't be a single key attribute for the whole flow file when there are N records.
On Tue, May 5, 2020 at 12:15 PM KhajaAsmath Mohammed <[hidden email]> wrote:
Is there a way to get key,timestamp and offset in consume kafka record?