kombu.transport.zookeeper

kombu.transport.zookeeper

Zookeeper transport.

copyright:
  1. 2010 - 2013 by Mahendra M.
license:

BSD, see LICENSE for more details.

Synopsis

Connects to a zookeeper node as <server>:<port>/<vhost> The <vhost> becomes the base for all the other znodes. So we can use it like a vhost.

This uses the built-in kazoo recipe for queues

References

Limitations This queue does not offer reliable consumption. An entry is removed from the queue prior to being processed. So if an error occurs, the consumer has to re-queue the item or it will be lost.

Transport

class kombu.transport.zookeeper.Transport(*args, **kwargs)[source]
class Channel(connection, **kwargs)
client
Transport.channel_errors = (<class 'amqp.exceptions.ChannelError'>,)
Transport.connection_errors = (<class 'amqp.exceptions.ConnectionError'>,)
Transport.default_port = 2181
Transport.driver_name = 'kazoo'
Transport.driver_type = 'zookeeper'
Transport.driver_version()[source]
Transport.polling_interval = 1

Channel

class kombu.transport.zookeeper.Channel(connection, **kwargs)[source]
client