OpenStack library for messaging
Go to file
Chet Burgess 0400cbf4f8 Gracefully handle consumer cancel notifications
With mirrored queues and clustered rabbit nodes a queue is still
mastered by a single rabbit node. When the rabbit node dies an
election occurs amongst the remaining nodes and a new master is
elected. When a slave is promoted to master it will close all the
open channels to its consumers but it will not close the
connections. This is reported to consumers as a consumer cancel
notification (CCN). Consumers need to re-subscribe to these queues
when they recieve a CCN.

kombu 2.1.4+ reports CCNs as channel errors. This patch updates
the ensure function to be more inline with the upstream kombu
functionality. We now monitor for channel errors as well as
connection errors and initiate a reconnect if we detect an error.

Change-Id: Ie00f67e65250dc983fa45877c14091ad4ae136b4
Partial-Bug: 856764
2014-02-28 14:22:26 -08:00
doc/source Merge "Implements notification listener and dispatcher" 2014-02-17 16:33:42 +00:00
etc Routing notifier 2014-01-15 04:08:18 +00:00
oslo Gracefully handle consumer cancel notifications 2014-02-28 14:22:26 -08:00
tests Convert to oslo.test 2014-02-26 17:06:03 -08:00
.gitignore Ignore any egg and egg-info directories 2014-02-05 09:32:25 -08:00
.gitreview Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.testr.conf Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
CONTRIBUTING.rst Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
MANIFEST.in Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Add a link to the docs from the README 2014-02-19 14:07:58 -06:00
openstack-common.conf Convert to oslo.test 2014-02-26 17:06:03 -08:00
requirements.txt Routing notifier 2014-01-15 04:08:18 +00:00
setup.cfg Merge "Expose an entry point to list all config options" 2014-01-28 06:17:56 +00:00
setup.py Updated from global requirements 2013-10-01 16:14:29 +00:00
test-requirements.txt Convert to oslo.test 2014-02-26 17:06:03 -08:00
tox.ini Convert to oslo.test 2014-02-26 17:06:03 -08:00

README.rst

Oslo Messaging Library

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.

See also: Library Documentation