Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Copying field values between different records

Highlighted

Copying field values between different records

New Contributor

Hello,

 

I have a flume morphlineSink accepting records from a Kafka channel.

 

Is it possible to add field values from a specific record to the next records coming in, i.e extract a field value e.g{time: 14:34:54 AM} from a specific record, store it and add it as a field/value to the next record, using a morphline custom command possibly?

 

Sakis

1 REPLY 1

Re: Copying field values between different records

Expert Contributor
Custom morphline commands can maintain state if you need to, so, in principle, it is possible.