Skip to main content

Publish changes to NATS

Project description

Introduction

This is an event broker for Nautobot that publishes events to NATS.

Configuration

Add this to your nautobot_config.py:

connect = {}

# Optional path to a credentials file.
if "NATS_CRED" in os.environ:
    connect["user_credentials"] = os.environ["NATS_CRED"]

from nautobot.core.events import register_event_broker
from nautobot_nats_broker import NATSEventBroker

register_event_broker(
    NATSEventBroker(
        servers="nats-server-url",
        stream="nautobot",
        **connect,
    )
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nautobot_broker_nats-1.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nautobot_broker_nats-1.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file nautobot_broker_nats-1.1.0.tar.gz.

File metadata

  • Download URL: nautobot_broker_nats-1.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for nautobot_broker_nats-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0f85cc63a4a00e87df2ac8b15855e6c3f57700526468017f9bb3bc62dd2fb9bc
MD5 4ba07ef17a345419ccea0b95ed3fc71f
BLAKE2b-256 d80e66df332a497b508fc536fca264b8043402c625b9f0d4c4a2a55561d0ccf0

See more details on using hashes here.

File details

Details for the file nautobot_broker_nats-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nautobot_broker_nats-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b42de6ee40353844a64a77173d82e02cd491e98d1bcefc6a46e1e1f40aa1b0e
MD5 9a006eec2a98686c027ae3e38675a235
BLAKE2b-256 f91da24f73ff62dce6fc41c4a3bb8fd612306c91f3304ac3e121809378af6598

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page