-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Gossip Registry | ||
|
||
Gossip is a zero dependency registry which uses hashicorp/memberlist to broadcast registry information | ||
via the SWIM protocol. | ||
|
||
## Usage | ||
|
||
Start with the registry flag or env var | ||
|
||
```bash | ||
MICRO_REGISTRY=gossip go run service.go | ||
``` | ||
|
||
On startup you'll see something like | ||
|
||
```bash | ||
2018/12/06 18:17:48 Registry Listening on 192.168.1.65:56390 | ||
``` | ||
|
||
To join this gossip ring set the registry address using flag or env var | ||
|
||
```bash | ||
MICRO_REGISTRY_ADDRESS= 192.168.1.65:56390 | ||
``` |