Red Hat Bugzilla – Bug 476053
Cluster broker: allow subnet address in --cluster-url
Last modified: 2015-11-15 19:06:14 EST
Description of problem:
Typical cluster configuration uses sepatate subnets for multicast & client traffic. To enforce this, each broker must be individually configured with an appropriate --cluster-url, which is inconvenient.
Allow TCP addresses in the URL to be treated as subnet addresses, construct a URL by matching against addrs for known NICs. E.g. if addr is 192.168.1.2, then the URL address could be 192.168.2.0. This allows a single config file to work for all brokers on a subnet.
A more flexible solution might be to allow simple wildcards in the cluster URL. The broke can generate a list of all the local interface address and match them to the wildcard addresses. e.g. tcp:192.168.1.*.
Closing: this was raised internally, there's no customer demand for it.