Exemplo n.º 1
0
 def __init__(self,
              rabbitmq_host,
              rabbitmq_port,
              rabbitmq_queue,
              rabbitmq_user,
              rabbitmq_password,
              couchdb_host,
              couchdb_port,
              realtime_db,
              historical_db,
              couchdb_user,
              couchdb_password,
              tz=None):
     BasicConfiguration.__init__(self, rabbitmq_host, rabbitmq_port, rabbitmq_queue, rabbitmq_user,
         rabbitmq_password, tz=tz)
     self.couchdb_host = couchdb_host
     self.couchdb_port = couchdb_port
     self.couchdb_user = couchdb_user
     self.couchdb_password = couchdb_password
     self.realtime_db = realtime_db
     self.historical_db = historical_db
Exemplo n.º 2
0
 def __init__(self, rabbitmq_host, rabbitmq_port, rabbitmq_queue, rabbitmq_user, rabbitmq_password, server_id=None,
              tz=None):
     BasicConfiguration.__init__(self, rabbitmq_host, rabbitmq_port, rabbitmq_queue, rabbitmq_user,
         rabbitmq_password, tz=tz)
     self.server_id = server_id