| Class | Description |
|---|---|
| Destination<T> |
A destination encapsulate a Netty TCP client.
|
| DestinationLoadBalancer<T> |
A destination load balancer returns each destination using a round robin strategy.
|
| Group<T> |
A Group of destination.
|
| GroupConfig |
The settings property names associated to groups.
|
| Groups<T> |
A group encapsulates several destinations.
|
A single socket bolt can be configured with several destination addresses. It will then load balance the data using a round robin strategy. Should one of the destination fail, the bolt will keep writing to others. Periodic re-connections attempts are regularly performed to eventually reconnect to all destinations.
You can further configure the destination addresses as part of groups. A group is a logical grouping of several destination typically part of the same cluster (or room, or site, etc..). A destination address associated to a group is given a weight. The weight of the group is the sum of the weight of each connected address. The bolt sends data only the to destinations addresses for the heaviest group. Let us see an example to make this clear:
Copyright © 2023. All rights reserved.