This document describes the current stable version of Kombu (4.5). For development docs, go here.

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 = 'kombu'
session_ttl = 30
timeout = 10
default_port = 2379
driver_name = 'python-etcd'
driver_type = '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({'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 = 'kombu'
session_ttl = 30
timeout = 10