command
module
Version:
v0.0.0-...-1de31e0
Opens a new window with list of versions in this module.
Published: May 28, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Nats Consumer
This is a Simple nats consumer
Func
Use container in order to debug nats
Build
Build locally
make
Run Container
Run Container
docker run -d -e MY_NATSBOOTSTRAP="nats://localhost:4222" -e MY_TOPIC="kikoo" visheyra/nats-es-consumer:latest
Run on K8S Cluster
Deploy POD
kubectl apply -f k8s/deployment.yml
Env
- MY_NATSBOOTSTRAP: Define nats bootstrap server (coma separated value) ie.nats://localhost:4222
- MY_TOPIC: Define topic to check ie.mytest
- MY_QUEUE: If empty don't use queuing subscription, else define queue name
Todo
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.