discovery: coalesce identical SD configurations (#3912)
* discovery: coalesce identical SD configurations
Instead of creating as many SD providers as declared in the
configuration, the discovery manager merges identical configurations
into the same provider and keeps track of the subscribers. When
the manager receives target updates from a SD provider, it will
broadcast the updates to all interested subscribers.
Signed-off-by: NSimon Pasquier <spasquie@redhat.com>
Showing
想要评论请 注册 或 登录