publisher can't publish to multiple queue topics

Bug #1431922 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Wishlist
gordon chung

Bug Description

this is a "nice to have". currently, we publish to a single topic for events and sample data (one each). it would be a nice feature to allow the ability to publish to multiple topics so we can have different consumers for different data.

one use case would be to publish datasetA to one topic and have datasetB (which has confidential data) to be published to another topic. this would allow us to possibly store the two datasets in completely different datastores and have segregation of data... this would resolve this: https://bugs.launchpad.net/ceilometer/+bug/1376915

the solution would be to allow an overriding the default topic (https://github.com/openstack/ceilometer/blob/master/ceilometer/publisher/messaging.py#L44-L60) in the url of publisher:

ie. notifier://?topic=<new topic>&...

gordon chung (chungg)
summary: - can't publish to multiple queue topics
+ publisher can't publish to multiple queue topics
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/164840

Changed in ceilometer:
assignee: nobody → gordon chung (chungg)
status: New → In Progress
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → kilo-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/164840
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=ff2eaa345ec8fe4f2828cf66c11fdbd9e89398f7
Submitter: Jenkins
Branch: master

commit ff2eaa345ec8fe4f2828cf66c11fdbd9e89398f7
Author: gordon chung <email address hidden>
Date: Mon Mar 16 15:42:09 2015 -0400

    add ability to publish to multiple topics

    allow the ability to publish to multiple topics so we can have
    different consumers for different data. this is done by allowing
    users to specify a topic for each publisher rather than using
    the standard CONF option.

    DocImpact
    Closes-Bug: #1431922

    Change-Id: Ib919cfa302e05653c788ea84a08eafbca4fe843c

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: kilo-3 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.