All Projects → nats-io → nats-box

nats-io / nats-box

Licence: Apache-2.0 license
A container with NATS utilities

Programming Languages

shell
77523 projects
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to nats-box

Stan.net
The official NATS .NET C# Streaming Client
Stars: ✭ 131 (+138.18%)
Mutual labels:  nats
Nats Top
A top-like tool for monitoring NATS servers.
Stars: ✭ 202 (+267.27%)
Mutual labels:  nats
natick
natickOS - A minimal, lightweight, research Linux Distribution
Stars: ✭ 33 (-40%)
Mutual labels:  busybox
Unifrost
Making it easier to push pubsub events directly to the browser.
Stars: ✭ 166 (+201.82%)
Mutual labels:  nats
Openmessaging Benchmark
OpenMessaging Benchmark Framework
Stars: ✭ 184 (+234.55%)
Mutual labels:  nats
Watermill
Building event-driven applications the easy way in Go.
Stars: ✭ 3,504 (+6270.91%)
Mutual labels:  nats
Gokit Examples
Examples for building microservices with Go kit (gokit.io)
Stars: ✭ 125 (+127.27%)
Mutual labels:  nats
tenda-reverse
Reverse engineering, getting root access to Tenda MW6 wifi mesh router
Stars: ✭ 90 (+63.64%)
Mutual labels:  busybox
Voik
♒︎ [WIP] An experimental ~distributed~ commit-log
Stars: ✭ 200 (+263.64%)
Mutual labels:  nats
rants
An async NATS client library for the Rust programming language.
Stars: ✭ 80 (+45.45%)
Mutual labels:  nats
Kubernetes Nats Cluster
NATS cluster on top of Kubernetes made easy.
Stars: ✭ 168 (+205.45%)
Mutual labels:  nats
Prometheus Nats Exporter
A Prometheus exporter for NATS metrics
Stars: ✭ 179 (+225.45%)
Mutual labels:  nats
golang-example-app
Example application
Stars: ✭ 138 (+150.91%)
Mutual labels:  nats
Go Micro Boilerplate
The boilerplate of the GoLang application with a clear microservices architecture.
Stars: ✭ 147 (+167.27%)
Mutual labels:  nats
swir
SWIR - Sidecar Written In Rust
Stars: ✭ 49 (-10.91%)
Mutual labels:  nats
Websocket Nats
An in-browser websocket client for NATS, a lightweight, high-performance cloud native messaging system
Stars: ✭ 125 (+127.27%)
Mutual labels:  nats
Phpnats
A PHP client for the NATSio cloud messaging system.
Stars: ✭ 209 (+280%)
Mutual labels:  nats
conbox
conbox is a Go implementation of unix-like utilities as single static executable intended for small container images.
Stars: ✭ 36 (-34.55%)
Mutual labels:  busybox
graphql-nats-subscriptions
A graphql subscriptions implementation using nats and apollo's graphql-subscriptions
Stars: ✭ 27 (-50.91%)
Mutual labels:  nats
nats-surveyor
NATS Monitoring, Simplified.
Stars: ✭ 150 (+172.73%)
Mutual labels:  nats
             _             _
 _ __   __ _| |_ ___      | |__   _____  __
| '_ \ / _` | __/ __|_____| '_ \ / _ \ \/ /
| | | | (_| | |_\__ \_____| |_) | (_) >  <
|_| |_|\__,_|\__|___/     |_.__/ \___/_/\_\

License Apache 2.0

nats-box

A lightweight container with NATS and NATS Streaming utilities.

  • nats - NATS management utility (README)
  • nsc - create NATS accounts and users
  • nats-top - top-like tool for monitoring NATS servers
  • stan-pub - publish messages to NATS Streaming
  • stan-sub - subscribe to messages from NATS Streaming
  • stan-bench - benchmark stan

Getting started

Use tools to interact with NATS.

$ docker run --rm -it natsio/nats-box:latest
~ # nats pub -s demo.nats.io test 'Hello World'
16:33:27 Published 11 bytes to "test"

Running in Kubernetes:

# Interactive mode
kubectl run -i --rm --tty nats-box --image=natsio/nats-box --restart=Never
nats-box:~# nats sub -s nats hello &
nats-box:~# nats pub -s nats hello world

# Non-interactive mode
kubectl apply -f https://nats-io.github.io/k8s/tools/nats-box.yml
kubectl exec -it nats-box -- /bin/sh

Using NSC to manage NATS v2 users and accounts

You can mount a local volume to get nsc accounts, nkeys, and other config back on the host.

$ docker run --rm -it -v $(pwd)/nsc:/nsc natsio/nats-box:latest

# In case NSC not initialized already:
nats-box:~# nsc init -d /nsc
$ tree -L 2 nsc/
nsc/
├── accounts
│   ├── nats
│   └── nsc.json
└── nkeys
    ├── creds
    └── keys

5 directories, 1 file
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].