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.

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 🙂