django-kombu icon indicating copy to clipboard operation
django-kombu copied to clipboard

The "Quick overview" doc is misleading, resulting in "KeyError: 'ae.undeliver'"

Open ksamuel opened this issue 14 years ago • 1 comments

In http://packages.python.org/kombu/introduction.html#quick-overview, a code exemple shows:

video_queue = Queue("video", exchange=media_exchange, key="video")

while it should be

video_queue = Queue("video", exchange=media_exchange, routing_key="video")

If your try to write code using the "key" argument, you end up with the error:

KeyError: 'ae.undeliver'

Cheers

ksamuel avatar Apr 26 '11 17:04 ksamuel

submitted pull request on kombu to resolve: https://github.com/ask/kombu/pull/50

heckj avatar Jul 18 '11 22:07 heckj