Red Hat Bugzilla – Bug 610756
Last modified: 2012-09-21 08:58:16 EDT
Description of problem:
cluster-url option bahaviour has changed
Version-Release number of selected component (if applicable):
The URL is of the form amqp:tcp:<host>:<port>[,tcp:<host>:<port> ...]
proper form, but better to be checked with dev-team because this differs from AMQP-spec
see bug 509454
I'm requesting change here because of commit listed at https://bugzilla.redhat.com/show_bug.cgi?id=509454#c3 changed way how qpidd deals with passed cluster URLs. https://bugzilla.redhat.com/show_bug.cgi?id=509454#c6 and this differs from amqp spec.
For additional info: see bug 509454.
MRG Messaging User Guide
7.1. Starting a Broker in a Cluster
Table 7.1. Options for High Availability Messaging Cluster
The URL is of the form
it contains one or more addresses that can be
used to reach the broker. In most cases, only
one address is advertized, but more than one
address can be specified if the machine running
the broker has more than one network interface
card, and you want to allow clients to connect
using multiple network interfaces. Examples:
advertizes a single address to the broker for
advertizes two different addresses to the
broker for failover, on two different network
Fix checked in. Will be visible in next build.
[RFE] it might be beneficial to break this long line into smaller chunks for better readability( in html view it's the longest line in whole document)
url = ["amqp:"][ user ["/" password] "@" ] protocol_addr *("," protocol_addr)
protocol_addr = [ tcp_addr | rmda_addr | ssl_addr ]
tcp_addr = ["tcp:"] host [":" port]
rdma_addr = "rdma:" host [":" port]
ssl_addr = "ssl:" host [":" port]
[RFE] isn't asterisk better be placed right after ("," protocol_addr) rather then before - in case it's regexp notation
[RFE] can you please add note of which defaults are used in case when cluster url is specified only with hostname --cluster-url "hostname"
Is Jonathan's fix suitable? If so, please close this bug.
(In reply to comment #5)
> Is Jonathan's fix suitable? If so, please close this bug.
i'm waiting for response to comment #4 from Jonathan
ppecka, Jonathan is no longer working on documentation.
Gordon, are you able to provide this information?
It certainly should be broken into multiple lines as per comment #4. The grammar is ABNF and the separate lines are important to clarity.
The asterisk should precede the repeating element, so that should not be changed.
If the protocol is not specified for an address it is assumed to be tcp. If the port is not specified it is assumed to be 5672.
all requirements of this BZ are satisfied --> VERIFIED
Thanks, closing for current release.