You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pubsub / rpc: centralize label prefiltering and matching (#299)
In SpecificDiscoveryStore, add the label set along with the handler info
to the DiscoveryCluster as "Controller" info. This allows us to do the
label matching centralized in the DiscoveryStore
* Adds a GetSupplementalDataValue function for the specified key with proper error handling included
* ServiceDiscovery: add test for two publishers and one subscriber
* Add test to test whether the optional label prefiltering works when the publishers are started before the Subscriber
* IntegrationTests: fix datarace for DataPubSub
* SpecificDiscoveryStore: improve algorithm docs
* Add comments to better explain the used algorithm, since it is somewhat convoluted
Co-authored-by: Jan Kraemer <jan.kraemer@vector.com>
Co-authored-by: Konrad Breitsprecher <Konrad.Breitsprecher@vector.com>
Co-authored-by: Marius Börschig <Marius.Boerschig@vector.com>
Co-authored-by: Daniel Edwards <Daniel.Edwards@vector.com>
Signed-off-by: Jan Kraemer <jan.kraemer@vector.com>
Signed-off-by: Konrad Breitsprecher <Konrad.Breitsprecher@vector.com>
Signed-off-by: Marius Börschig <Marius.Boerschig@vector.com>
Signed-off-by: Daniel Edwards <Daniel.Edwards@vector.com>
0 commit comments