- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Parsing message in NIFI
- Labels:
-
Apache NiFi
Created 12-28-2016 10:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to parse location sensor messages; instead of processing in Spark, i would like to try out in NIFI (HDF2.0), the messages are simple . I just need to split the content with ',' and then tranform it.
I couldn't find the right process in NiFi, can you please help me on that?
Thanks,
SJ
Created 12-28-2016 10:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd suggest checking out the SplitContent processor[1]. Just set "Byte Sequence" to what you want to split it on (','). Then you can process each split as it's own FlowFile.
Created 12-28-2016 10:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd suggest checking out the SplitContent processor[1]. Just set "Byte Sequence" to what you want to split it on (','). Then you can process each split as it's own FlowFile.
Created 12-29-2016 10:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Thanks for the help. I applied the "splitContent" and now it split the message by ','.
SJ
Created 06-03-2017 02:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I lost my project and now again when i want to split the text based on the ',' doesn't work, Not sure if in the version of nifi(1.1) this feature has been changed. Please find my config in the attachment. It gives me an error that ',' is not a valid hex content.
thanks, SJ
