nats-es-consumer

command module
v0.0.0-...-1de31e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

README

CircleCI Go Report Card

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL