designate/releasenotes/notes/bug-1832799-allow-topic-override-7540c14a10b8e3ae.yaml
Erik Olof Gunnar Andersson fcb3290be7 Fixed renaming topic breaking service
Changing the topic currently changes the service_name. This
breaks the service, as the service_name is also used to
load the appropriate configuration seection for the service.

> self._service_config = CONF['service:%s' % self.service_name]

* Renames cfg option [service:<name>].<name>_topic to [service:<name>].topic
* Removed previously unused configs related to topics.
* Added topic override for producer.
* Added test coverage.

Closes-Bug: #1832799
Change-Id: I16385361ec25025aa533df80793dfc4d22151cbb
2019-06-17 07:03:24 +00:00

16 lines
380 B
YAML

---
fixes:
- |
It was previously not possible to override the topics for various serivces (e.g. mdns),
due to `bug 1832799`_. This has been fixed, and these services now use a common option name to
override the topic.
e.g.
.. code-block:: ini
[service:mdns]
topic = mdns
.. _bug 1832799: https://bugs.launchpad.net/designate/+bug/1832799