Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎05-23-2017

Copying field values between different records

[ Edited ]

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

Cloudera Employee
Posts: 146
Registered: ‎08-21-2013

Re: Copying field values between different records

Custom morphline commands can maintain state if you need to, so, in principle, it is possible.
Announcements
The Kite SDK is a collection of docs, sample code, APIs, and tools to make Hadoop application development faster. Learn more at http://kitesdk.org.