Support Questions

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

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

avatar
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

avatar
Expert Contributor

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

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

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

avatar
Master Guru

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

avatar
Contributor

Thank you @Matt Burgess 🙂

avatar
Contributor

Thank you @Benjamin Hopp

I will try it 🙂