mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
This change simplifies the crate name to better reflect its core functionality as the event handling system for RustFS. The renamed package maintains all existing functionality while improving naming consistency across the project. - Updated all imports and references to use the new crate name - Maintained API compatibility with existing implementations - Updated tests to reflect the name change
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
## ===== global configuration =====
|
|
#NOTIFIER__STORE_PATH=/var/log/event-notification
|
|
#NOTIFIER__CHANNEL_CAPACITY=5000
|
|
#
|
|
## ===== adapter configuration array format =====
|
|
## webhook adapter index 0
|
|
#NOTIFIER__ADAPTERS_0__type=Webhook
|
|
#NOTIFIER__ADAPTERS_0__endpoint=http://127.0.0.1:3020/webhook
|
|
#NOTIFIER__ADAPTERS_0__auth_token=your-auth-token
|
|
#NOTIFIER__ADAPTERS_0__max_retries=3
|
|
#NOTIFIER__ADAPTERS_0__timeout=50
|
|
#NOTIFIER__ADAPTERS_0__custom_headers__x_custom_server=server-value
|
|
#NOTIFIER__ADAPTERS_0__custom_headers__x_custom_client=client-value
|
|
#
|
|
## kafka adapter index 1
|
|
#NOTIFIER__ADAPTERS_1__type=Kafka
|
|
#NOTIFIER__ADAPTERS_1__brokers=localhost:9092
|
|
#NOTIFIER__ADAPTERS_1__topic=notifications
|
|
#NOTIFIER__ADAPTERS_1__max_retries=3
|
|
#NOTIFIER__ADAPTERS_1__timeout=60
|
|
#
|
|
## mqtt adapter index 2
|
|
#NOTIFIER__ADAPTERS_2__type=Mqtt
|
|
#NOTIFIER__ADAPTERS_2__broker=mqtt.example.com
|
|
#NOTIFIER__ADAPTERS_2__port=1883
|
|
#NOTIFIER__ADAPTERS_2__client_id=event-notifier
|
|
#NOTIFIER__ADAPTERS_2__topic=events
|
|
#NOTIFIER__ADAPTERS_2__max_retries=3 |