Skip to content

Commit 29de9f1

Browse files
committed
Added mqtt output plugin.
1 parent 01436dd commit 29de9f1

File tree

5 files changed

+1113
-1
lines changed

5 files changed

+1113
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,23 @@ sources:
5858
database: postgis
5959
username: username
6060
password: password
61+
62+
# Outputs: Define where notifications are sent
63+
outputs:
64+
- type: mqtt
65+
config:
66+
broker_host: localhost
67+
broker_port: 1883
6168
```
6269
6370
### Available Plugins
6471
6572
#### Sources
6673
- `postgres`: Monitor PostgreSQL/pgSTAC database changes
6774

75+
#### Outputs
76+
- `mqtt`: Publish events to MQTT broker
77+
6878
## Testing
6979

7080
Install test dependencies and run tests with `uv`:

eoapi_notifier/outputs/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"""
2+
Outputs plugins.
3+
4+
"""
5+
6+
from .mqtt import MQTTAdapter, MQTTConfig
7+
8+
__all__ = [
9+
"MQTTAdapter",
10+
"MQTTConfig",
11+
]

0 commit comments

Comments
 (0)