Merge "Consume notification from the default queue"

This commit is contained in:
Jenkins 2013-08-12 07:05:42 +00:00 committed by Gerrit Code Review
commit b0bc6de94d
2 changed files with 14 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class CollectorService(rpc_service.Service):
try:
self.conn.join_consumer_pool(
callback=self.process_notification,
pool_name='ceilometer.notifications',
pool_name=topic,
topic=topic,
exchange_name=exchange_topic.exchange,
ack_on_error=ack_on_error)

View File

@ -381,6 +381,19 @@ Configuring keystone to work with API
default port value for ceilometer API is 8777. If the port value
has been customized, adjust accordingly.
Notifications queues
========================
.. index::
double: installing; notifications queues
By default, Ceilometer consumes notifications on the RPC bus sent to
**notification_topics** by using a queue/pool name that is identical to the
topic name. You shouldn't have different applications consuming messages
from this queue.
If you want to also consume the topic notifications with a system other than
Ceilometer, you should configure a separate queue that listens for the same
messages.
Use multiple dispatchers
========================