Hi,

Is there a way implement multiplexing when there is no header information
attached to the event (based on first column)?


we have customer data coming in in a file. There is no header information
attached to the data. First column is even type(highlighted in red).



·        Each even type is bound to different metadata but it is not
attached to incoming record.

·        There are 10 different event types.

·        Data needs to route to 10 different hdfs sinks.

I am wondering if there is way to accomplish this without writing custom
code.  I appreciate any help.



1|20160129010003|_abc|[email protected]|31-EA1HYGT|31-EA1HYGF|R|1|[email protected]
<1|20160129010003|_BWqv-jB9KK8Nt4|[email protected]|31-EA1HYGT|31-EA1HYGF|R|1|[email protected]>

7|20160129010003|_aec|[email protected]|31-EA10ARI|31-EA10ARE|R|2|[email protected]
<7|20160129010003|_BWqv-jB9KK8Nt4|[email protected]|31-EA10ARI|31-EA10ARE|R|2|[email protected]>
|test|test|test

1
0|20160129010003|_asaasd|[email protected]|31-EA10ARI|31-EA10ARE|R|2|[email protected]|www.yahoo.com
<10|20160129010003|_BWqv-jB9KK8Nt4|[email protected]|31-EA10ARI|31-EA10ARE|R|2|[email protected]|www.yahoo.com>
|test

1|20160129010003|_rtert|[email protected]|31-EA1HYGT|31-EA1HYGF|R|1|[email protected]
<1|20160129010003|_BWqv-jB9KK8Nt4|[email protected]|31-EA1HYGT|31-EA1HYGF|R|1|[email protected]>

4
|20160129010003|_w3423|[email protected]|31-EA1HYGT|31-EA1HYGF|R|1|[email protected]|xx|xx|
<4|20160129010003|_BWqv-jB9KK8Nt4|[email protected]|31-EA1HYGT|31-EA1HYGF|R|1|[email protected]|xx|xx|>



Thanks,

Chandra

Reply via email to