PubSub: messages with group topics are sent many times per node #27421
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
nice-to-have (low-prio)
Tasks which make sense, however are not very high priority, feel free to help out!
Setup:
sendOneMessageToEachGroup=true
.Expected behavior:
1 message is sent from B to A, where it gets broadcasted to the 100 subscribers.
Actual behavior:
100 messages are sent from B to A.
The actual behavior is a logical conclusion of the documentation (assuming "topic"==="topic identifier": "the message is sent over the wire only once per node (that has a matching topic)" and "the group id is used it is part of the topic identifier", desto the optimization does not apply for message published to multiple groups). Is the actual behavior reasonable? Does the documentation leaves the right impression? I believed the "expected behavior" for years...
The text was updated successfully, but these errors were encountered: