NotifierMongo¶
sink extra: notifier-mongo
Transmit messages to a Mongo endpoint.
- Node type:
NotifierMongo- Input:
ObjectPayload- Output:
–
- Extra:
notifier-mongo
$ pip install "juturna-nodes[notifier-mongo]"
License¶
Code: this node is part of juturna-nodes, MIT (its
LICENSEfile).PyMongo: Apache-2.0 (the
License-Expressionof pymongo on PyPI).
Configuration¶
Default node arguments, as defined in the node config.toml file. Any of
them can be overridden in the node configuration of a pipeline.
[arguments]
endpoint = "mongodb://127.0.0.1:27017"
database = "my_database"
collection = "my_collection"
timeout = 2
[meta]
Pipeline usage¶
{
"name": "notifier_mongo",
"type": "NotifierMongo",
"configuration": {}
}
Reference¶
- class NotifierMongo(
- endpoint: str,
- database: str,
- collection: str,
- timeout: int,
- **kwargs,
Node implementation class