DeleteMongo 2025.10.9.21

Bundle

org.apache.nifi | nifi-mongodb-nar

Description

Executes a delete query against a MongoDB collection. The query is provided in the body of the flowfile and the user can select whether it will delete one or many documents that match it.

Tags

delete, mongo, mongodb

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Mongo Collection NameThe name of the collection to use
Mongo Database NameThe name of the database to use
delete-mongo-delete-modeChoose between deleting one document by query or many documents by query.
delete-mongo-fail-on-no-deleteDetermines whether to send the flowfile to the success or failure relationship if nothing is successfully deleted.
mongo-client-serviceIf configured, this property will use the assigned client service for connection pooling.

Relationships

NameDescription
failureAll FlowFiles that cannot be written to MongoDB are routed to this relationship
successAll FlowFiles that are written to MongoDB are routed to this relationship