diff --git a/diagrams/onprem/queue.py b/diagrams/onprem/queue.py index cfbf725..a8ffd65 100644 --- a/diagrams/onprem/queue.py +++ b/diagrams/onprem/queue.py @@ -20,6 +20,10 @@ class Kafka(_Queue): _icon = "kafka.png" +class Nats(_Queue): + _icon = "nats.png" + + class Rabbitmq(_Queue): _icon = "rabbitmq.png" diff --git a/docs/nodes/onprem.md b/docs/nodes/onprem.md index 3e5081a..aac314c 100644 --- a/docs/nodes/onprem.md +++ b/docs/nodes/onprem.md @@ -181,6 +181,7 @@ Node classes list of onprem provider. - **diagrams.onprem.queue.Activemq**, **ActiveMQ** (alias) - **diagrams.onprem.queue.Celery** - **diagrams.onprem.queue.Kafka** +- **diagrams.onprem.queue.Nats** - **diagrams.onprem.queue.Rabbitmq**, **RabbitMQ** (alias) - **diagrams.onprem.queue.Zeromq**, **ZeroMQ** (alias) diff --git a/resources/onprem/queue/nats.png b/resources/onprem/queue/nats.png new file mode 100644 index 0000000..446b407 Binary files /dev/null and b/resources/onprem/queue/nats.png differ