Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi-How to load xml data in to cassendra table

avatar
New Contributor

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