Created 01-21-2016 06:59 PM
Created 01-21-2016 07:06 PM
You can pull data from JMS using either queues or topics by using these processors:
Those processors presently support ActiveMQ out of the box. It is pretty easy to add other vendors as well but we're going to make it even easier in an upcoming release.
Once you pull data from JMS then you connect that processor's output to PutHDFS as explained here:
You might find these templates useful to help get you started:
https://github.com/hortonworks-gallery/nifi-templates/tree/master/templates
Thanks
Joe
Created 01-21-2016 07:02 PM
you need a processor to read from JMS queue and you need a processor to put data into hdfs. you may need to handle your logic a bit but that's basically the processors you need @vijay patel
Created 01-21-2016 07:06 PM
You can pull data from JMS using either queues or topics by using these processors:
Those processors presently support ActiveMQ out of the box. It is pretty easy to add other vendors as well but we're going to make it even easier in an upcoming release.
Once you pull data from JMS then you connect that processor's output to PutHDFS as explained here:
You might find these templates useful to help get you started:
https://github.com/hortonworks-gallery/nifi-templates/tree/master/templates
Thanks
Joe
Created 01-21-2016 07:19 PM
for download nifi I can do it on windows or linux? thanks for answer
Created 01-21-2016 07:24 PM
@vijay patel you can run nifi on anything that can run jvm.
Created 01-21-2016 07:32 PM
You may also want to consider that JMS messages tend to be quite small, and before pushing to HDFS it may help to merge together many JMS messages so that you don't have a huge number of files in HDFS. You could use the MergeContent Processor to accomplish this.
Created 01-21-2016 10:16 PM
Thanks mpayne
Created 03-27-2016 11:56 PM
Configure ConsumeJMS processor, configure MergeContent processor to create suitable file sizes for HDFS, the use PutHDFS processor to write to HDFS directly.