This document is for Kombu's development version, which can be significantly different from previous releases. Get the stable docs here: 4.1.

Etcd Transport - kombu.transport.etcd

Etcd Transport.

It uses Etcd as a store to transport messages in Queues

It uses python-etcd for talking to Etcd’s HTTP API

Transport

class kombu.transport.etcd.Transport(*args, **kwargs)[source]

Etcd storage Transport for Kombu.

class Channel(*args, **kwargs)

Etcd Channel class which talks to the Etcd.

index = None
lock_ttl = 10
lock_value
prefix = u'kombu'
session_ttl = 30
timeout = 10
default_port = 2379
driver_name = u'python-etcd'
driver_type = u'etcd'
driver_version()[source]

Return the version of the etcd library.

Note

python-etcd has no __version__. This is a workaround.

implements = {'asynchronous': False, 'exchange_type': frozenset([u'direct']), 'heartbeats': False}
polling_interval = 3
verify_connection(connection)[source]

Verify the connection works.

Channel

class kombu.transport.etcd.Channel(*args, **kwargs)[source]

Etcd Channel class which talks to the Etcd.

index = None
lock_ttl = 10
lock_value[source]
prefix = u'kombu'
session_ttl = 30
timeout = 10