Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

what Nifi processor can i use to remove a document from MongoDb?

Solved Go to solution

what Nifi processor can i use to remove a document from MongoDb?

Contributor

I am using NiFi to ingest data into a mongoDB data base.

I need to delete some documents. How can i proceed ?

what processor can i use to remove a document from MongoDb?

thanks.

Helmi

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: what Nifi processor can i use to remove a document from MongoDb?

Rising Star

I am not aware of any way to do it natively in NiFi. You could always use a REST interface with MongoDB to allow interaction via InvokeHTTP.

https://docs.mongodb.com/ecosystem/tools/http-interfaces/#rest-interface

4 REPLIES 4
Highlighted

Re: what Nifi processor can i use to remove a document from MongoDb?

Rising Star

I am not aware of any way to do it natively in NiFi. You could always use a REST interface with MongoDB to allow interaction via InvokeHTTP.

https://docs.mongodb.com/ecosystem/tools/http-interfaces/#rest-interface

Re: what Nifi processor can i use to remove a document from MongoDb?

I have written NIFI-4479 to cover the addition of a DeleteMongo processor.

Re: what Nifi processor can i use to remove a document from MongoDb?

Contributor

Thank you @Matt Burgess :)

Re: what Nifi processor can i use to remove a document from MongoDb?

Contributor

Thank you @Benjamin Hopp

I will try it :)