NSQ Notification Settings
This page documents settings for configuring an NSQ service as a target for Bucket Notifications. See Publish Events to NSQ for a tutorial on using these settings.
You can establish or modify settings by defining:
- an environment variable on the host system prior to starting or restarting the AIStor Server. Refer to your operating system’s documentation for how to define an environment variable.
- a configuration setting using
mc admin config set
.
If you define both an environment variable and the similar configuration setting, AIStor uses the environment variable value.
Some settings have only an environment variable or a configuration setting, but not both.
Settings
Enable
NSQD address
Specify the NSQ Daemon server address to which AIStor publishes bucket events.
Topic
Specify the topic to which AIStor publishes events in the NSQ service.
Tls
Specify on
to enable TLS connectivity to the NSQ service broker.
Tls skip verify
Enables or disables TLS verification of the NSQ service broker TLS certificates.
- Specify
on
to disable TLS verification (Default). - Specify
off
to enable TLS verification.
Queue dir
Specify the directory path to enable MinIO’s persistent event store for undelivered messages, such as /opt/minio/events
.
AIStor stores undelivered events in the specified store while the NSQ server/broker is offline and replays the stored events when connectivity resumes.
Queue limit
Specify the maximum limit for undelivered messages. Defaults to 100000
.
Comment
Specify a comment to associate with the NSQ configuration.