Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Nifi-How to load xml data in to cassendra table

avatar
New Member

Hi All,

I have xml whose data i need to insert in to cassendra tables.I need to first post the data and then consume the same using JMS before inserting the same in to cassendra.Please suggest me a flow for the same

Thanks

1 ACCEPTED SOLUTION

avatar
Guru
1 REPLY 1

avatar
Guru

Hi @Nirupam Sarkar

NiFi does have Cassandra processors, QueryCassandra and PutCassandraQL. There some examples/templates on the NiFi wiki as well as on the Hortonworks Gallery. Here are some links that can help get you started:

https://cwiki.apache.org/confluence/display/NIFI/Example+Dataflow+Templates

http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-cassandra-nar/1.3.0/org.apache...

https://github.com/hortonworks-gallery/nifi-templates/blob/master/templates/CassandraProcessors.xml