
Nova sends notifications with a bunch of different publisher_ids, so we instantiate quite a lot of Notifier objects. Loading the noification drivers for each of these is a substantial amount of overhead. One obvious answer would be to make publisher_id an argument to the error(), info(), etc. methods, but I think it's nice to encapsulate the publisher_id in a notifier instance. Instead, add a prepare() method which mirrors the approach in RPCClient. You use this method to create a specialized notifier instance with a new publisher_id. Change-Id: Ia45fda3164086bb7a9ef6dee0587f726ab8b1a97
Oslo Messaging Library
The Oslo messaging API supports RPC and notifications over a number of different messsaging transports.
Description
Languages
Python
99.8%
Shell
0.2%