Skip to content

A small tool for dynamically configuring nsqd and nsqadmin with lookupd instances fetched from consul

License

Notifications You must be signed in to change notification settings

faryon93/nsq-discovery-consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nsq-discovery-consul

This application is intended as a sidecar for nsqd and nsqadmin. It queries consul for a specific service and uses the HTTP /config API to set nsqlookupd endpoints.

The consul client library uses a set of environment variables to configure the consul connection.

Usage

$: docker run faryon93/nsq-discovery-consul \
    /nsq-discovery-consul \
    --consul-lookupd-service="nsqlookupd" \
    --nsq-conf-url="http://127.0.0.1:4151/config/nsqlookupd_tcp_addresses"

About

A small tool for dynamically configuring nsqd and nsqadmin with lookupd instances fetched from consul

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages