diff --git a/source/administration/monitoring/publish-events-to-nats.rst b/source/administration/monitoring/publish-events-to-nats.rst index 6e641d9c..2883b39e 100644 --- a/source/administration/monitoring/publish-events-to-nats.rst +++ b/source/administration/monitoring/publish-events-to-nats.rst @@ -79,8 +79,8 @@ You can configure a new NATS service endpoint using either environment variables If the specified ```` matches an existing NATS service endpoint on the MinIO deployment, the new settings *override* any existing settings for that endpoint. Use :mc-cmd:`mc admin config get notify_nats ` to review the currently configured NATS endpoints on the MinIO deployment. - - Replace ```` with the URL of the NATS service endpoint. - For example: ``htpps://nats-endpoint.example.com:4222`` + - Replace ```` with the hostname and port of the NATS service endpoint. + For example: ``nats-endpoint.example.com:4222`` See :ref:`NATS Service for Bucket Notifications ` for complete documentation on each environment variable. @@ -124,8 +124,8 @@ You can configure a new NATS service endpoint using either environment variables If the specified ``IDENTIFIER`` matches an existing NATS service endpoint on the MinIO deployment, the new settings *override* any existing settings for that endpoint. Use :mc-cmd:`mc admin config get notify_nats ` to review the currently configured NATS endpoints on the MinIO deployment. - - Replace ``ENDPOINT`` with the URL of the NATS service endpoint. - For example: ``htpps://nats-endpoint.example.com:4222``. + - Replace ``ENDPOINT`` with the hostname and port of the NATS service endpoint. + For example: ``nats-endpoint.example.com:4222``. See :ref:`NATS Bucket Notification Configuration Settings ` for complete documentation on each setting. @@ -302,4 +302,4 @@ For example, if the bucket notification configuration includes the ``s3:ObjectCr .. code-block:: shell :class: copyable - mc cp ~/data/new-object.txt ALIAS/BUCKET \ No newline at end of file + mc cp ~/data/new-object.txt ALIAS/BUCKET diff --git a/source/reference/minio-server/settings/notifications/nats.rst b/source/reference/minio-server/settings/notifications/nats.rst index 2797c166..296c6fc2 100644 --- a/source/reference/minio-server/settings/notifications/nats.rst +++ b/source/reference/minio-server/settings/notifications/nats.rst @@ -49,10 +49,10 @@ For example, the following commands set two distinct NATS service endpoints as ` :class: copyable set MINIO_NOTIFY_NATS_ENABLE_PRIMARY="on" - set MINIO_NOTIFY_NATS_ADDRESS_PRIMARY="https://nats-endpoint.example.net:4222" - + set MINIO_NOTIFY_NATS_ADDRESS_PRIMARY="nats-endpoint.example.net:4222" + set MINIO_NOTIFY_NATS_ENABLE_SECONDARY="on" - set MINIO_NOTIFY_NATS_ADDRESS_SECONDARY="https://nats-endpoint.example.net:4222" + set MINIO_NOTIFY_NATS_ADDRESS_SECONDARY="nats-endpoint.example.net:4222" With these settings, :envvar:`MINIO_NOTIFY_NATS_ENABLE_PRIMARY ` indicates the environment variable is associated to an NATS service endpoint with ID of ``PRIMARY``. @@ -62,12 +62,12 @@ For example, the following commands set two distinct NATS service endpoints as ` .. code-block:: shell mc admin config set notify_nats:primary \ - address="https://nats-endpoint.example.com:4222" \ + address="nats-endpoint.example.com:4222" \ subject="minioevents" \ [ARGUMENT=VALUE ...] mc admin config set notify_nats:secondary \ - address="https://nats-endpoint.example.com:4222" \ + address="nats-endpoint.example.com:4222" \ subject="minioevents" \ [ARGUMENT=VALUE ...] @@ -105,10 +105,10 @@ Enable :class: copyable mc admin config set notify_nats \ - address="https://nats-endpoint.example.com:4222" \ + address="nats-endpoint.example.com:4222" \ subject="minioevents" \ [ARGUMENT="VALUE"] ... \ - + Address ~~~~~~~ @@ -128,7 +128,7 @@ Address :delimiter: " " Specify the NATS service endpoint to which MinIO publishes bucket events. -For example, ``https://nats-endpoint.example.com:4222``. +For example, ``nats-endpoint.example.com:4222``. .. include:: /includes/linux/minio-server.rst :start-after: start-notify-target-online-desc @@ -540,4 +540,4 @@ Comment .. mc-conf:: notify_nats comment :delimiter: " " -Specify a comment to associate with the NATS configuration. \ No newline at end of file +Specify a comment to associate with the NATS configuration.