multi-zone/

directory
v1.5.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0

README

Run Steps

  1. Start Zookeeper in docker environment.

    make -f ../build/Makefile docker-up
    
  2. Start Server

    Start Hangzhou zone server.

    cd go-server-hz
    make -f ../../build/Makefile clean start  
    

    Start Shanghai zone server.

    cd go-server-sh
    make -f ../../build/Makefile clean start  
    
    
  3. Run Consumer

    cd go-client
    make -f ../../build/Makefile run
    
  4. Cleanup

    cd go-server-hz && \
         make -f ../../build/Makefile clean && \
         cd ..
    cd go-server-sh && \
         make -f ../../build/Makefile clean && \
         cd ..
    cd go-client && \
         make -f ../../build/Makefile clean && \
         cd ..
    make -f ../build/Makefile docker-down
    

Directories

Path Synopsis
go-client
cmd
pkg
go-server-hz
cmd
pkg
go-server-sh
cmd
pkg

Jump to

Keyboard shortcuts

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