#coding=utf8

import logging
from gevent import monkey
monkey.patch_all()
from zservice import CloudBroker

logging.basicConfig(format="%(asctime)s %(message)s", datefmt="%Y-%m-%d %H:%M:%S", level=logging.DEBUG)

uris = {}
uris['client_uri']  = 'tcp://127.0.0.1:5001'
uris['worker_uri']  = 'tcp://127.0.0.1:5002'
uris['cloudfe_uri'] = 'tcp://127.0.0.1:6001'
uris['statebe_uri'] = 'tcp://127.0.0.1:7002'
uris['manager_uri'] = 'tcp://localhost:9999'

broker = CloudBroker('broker1', **uris)
broker.register()
broker.start()

7a0db6220034c5108f3528a54f74b80b7aebab3b
<mask token>

<mask token>
monkey.patch_all()
<mask token>
logging.basicConfig(format='%(asctime)s %(message)s', datefmt=
    '%Y-%m-%d %H:%M:%S', level=logging.DEBUG)
<mask token>
broker.register()
broker.start()

<mask token>
monkey.patch_all()
<mask token>
logging.basicConfig(format='%(asctime)s %(message)s', datefmt=
    '%Y-%m-%d %H:%M:%S', level=logging.DEBUG)
uris = {}
uris['client_uri'] = 'tcp://127.0.0.1:5001'
uris['worker_uri'] = 'tcp://127.0.0.1:5002'
uris['cloudfe_uri'] = 'tcp://127.0.0.1:6001'
uris['statebe_uri'] = 'tcp://127.0.0.1:7002'
uris['manager_uri'] = 'tcp://localhost:9999'
broker = CloudBroker('broker1', **uris)
broker.register()
broker.start()

import logging
from gevent import monkey
monkey.patch_all()
from zservice import CloudBroker
logging.basicConfig(format='%(asctime)s %(message)s', datefmt=
    '%Y-%m-%d %H:%M:%S', level=logging.DEBUG)
uris = {}
uris['client_uri'] = 'tcp://127.0.0.1:5001'
uris['worker_uri'] = 'tcp://127.0.0.1:5002'
uris['cloudfe_uri'] = 'tcp://127.0.0.1:6001'
uris['statebe_uri'] = 'tcp://127.0.0.1:7002'
uris['manager_uri'] = 'tcp://localhost:9999'
broker = CloudBroker('broker1', **uris)
broker.register()
broker.start()

#coding=utf8

import logging
from gevent import monkey
monkey.patch_all()
from zservice import CloudBroker

logging.basicConfig(format="%(asctime)s %(message)s", datefmt="%Y-%m-%d %H:%M:%S", level=logging.DEBUG)

uris = {}
uris['client_uri']  = 'tcp://127.0.0.1:5001'
uris['worker_uri']  = 'tcp://127.0.0.1:5002'
uris['cloudfe_uri'] = 'tcp://127.0.0.1:6001'
uris['statebe_uri'] = 'tcp://127.0.0.1:7002'
uris['manager_uri'] = 'tcp://localhost:9999'

broker = CloudBroker('broker1', **uris)
broker.register()
broker.start()
