url | string | no | no | The MongoDB connection URL. |
database | string | no | no | The name of the database to query. |
username | string | yes | no | The username to authenticate with. The value defaults to ``. |
password | string | yes | no | The password to authenticate with. The value defaults to ``. |
collection | string | no | no | The name of the collection to query. |
operation | string | yes | no | The operation to perform. The value defaults to find . |
query | string | no | no | Bloblang expression describing MongoDB query. |
auto_replay_nacks | bool | yes | no | Whether messages that are rejected (nacked) at the output level should be automatically replayed indefinitely, eventually resulting in back pressure if the cause of the rejections is persistent. If set to false these messages will instead be deleted. Disabling auto replays can greatly improve memory efficiency of high throughput streams as the original shape of the data can be discarded immediately upon consumption and mutation. The value defaults to true . |
batch_size | int | yes | no | A explicit number of documents to batch up before flushing them for processing. Must be greater than 0 . The value defaults to 0 . |
sort | sort | yes | no | An object specifying fields to sort by, and the respective sort order (1 ascending, -1 descending). Note: The driver currently appears to support only one sorting key. Operations: find . The value defaults to map[] . |
limit | int | yes | no | The maximum number of documents to return. Operations: find . The value defaults to 0 . |