The whole process

  • 1. Expose local services
  • 2. Expose remote services
  • 3. Start netty
  • 4. Connect to ZooKeeper
  • 5. Register with ZooKeeper
  • 6. Listen to ZooKeeper