All Projects → bmcustodio → docker-compose-nats-streaming-cluster

bmcustodio / docker-compose-nats-streaming-cluster

Licence: Apache-2.0 license
A three-node NATS Streaming cluster running on top of Docker Compose for testing purposes.

Projects that are alternatives of or similar to docker-compose-nats-streaming-cluster

stan-js-replicator
replicate messages from streaming channel to jetstream
Stars: ✭ 14 (+0%)
Mutual labels:  nats-streaming
stan.rb
Ruby NATS Streaming Client
Stars: ✭ 21 (+50%)
Mutual labels:  nats-streaming
nats-connector-spark
A Spark Publish/Subscribe NATS Connector
Stars: ✭ 24 (+71.43%)
Mutual labels:  nats-streaming
natsclient
NATS 2.x Client Library
Stars: ✭ 37 (+164.29%)
Mutual labels:  nats-streaming
Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
Stars: ✭ 46 (+228.57%)
Mutual labels:  nats-streaming
envoy-nats-streaming
No description or website provided.
Stars: ✭ 28 (+100%)
Mutual labels:  nats-streaming
proximo
Interoperable GRPC based publish/subscribe
Stars: ✭ 38 (+171.43%)
Mutual labels:  nats-streaming
go-distsys
Distributed Systems programming examples in the Go programming language.
Stars: ✭ 101 (+621.43%)
Mutual labels:  nats-streaming

docker-compose-nats-streaming-cluster

A three-node NATS Streaming cluster running on top of Docker Compose, for testing purposes.

License

Starting

To start the NATS Streaming cluster, run

$ docker-compose up
(...)
nats-streaming-2_1  | [1] 2020/03/07 13:55:23.689466 [INF] STREAM: Starting nats-streaming-server[nats-streaming] version 0.17.0
(...)
nats-streaming-1_1  | [1] 2020/03/07 13:55:23.870350 [INF] STREAM: Starting nats-streaming-server[nats-streaming] version 0.17.0
(...)
nats-streaming-3_1  | [1] 2020/03/07 13:55:23.868682 [INF] STREAM: Starting nats-streaming-server[nats-streaming] version 0.17.0
(...)

Connecting

To connect to the NATS Streaming cluster, point your NATS Streaming client at one of 127.0.0.1:{14222,24222,34222}.

Stopping

To stop the NATS Streaming cluster, hit Ctrl+C.

Destroying

To destroy the NATS Streaming cluster, run

$ docker-compose down
Removing docker-compose-nats-streaming-cluster_nats-streaming-3_1 ... done
Removing docker-compose-nats-streaming-cluster_nats-streaming-1_1 ... done
Removing docker-compose-nats-streaming-cluster_nats-streaming-2_1 ... done
Removing network docker-compose-nats-streaming-cluster_main

License

Copyright 2019-2020 bmcustodio

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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].