KubeMQ supports grouping receivers with the same subscription channel patterns to form a load balancing group.
The group pattern is a useful pattern for sharing message load handling between services and for redundancy functionality too.
During a Subscription request, the receiver can set the group name to join or not. Based on the Group value setting KubeMQ will deliver messages to the receiver as follows:
- Any receiver without a group setting (group="", blank)
- Only one receiver for each group he belongs to
In the table below we have 8 receivers which subscribe to different channels and groups:
In the table below, we explore several message channels and which receiver will get them: