You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Describe the bug
Some of the language bindings supply an empty string for the advertisedListenerName field of CommandLookupTopic (e.g. Java vs Golang). This confuses the broker, who then fails to apply the default advertised listener for the given server port. This, in turn, leads to an incorrect topic lookup response and a subsequent connection failure.
Configure a broker with a bind address that is associated with an advertised listener.
Using various language clients, send a topic lookup request without an explicit advertised listener to the bind address. Expect the default advertised listener for that binding to be used.
Observe that some clients receive the correct advertised listener, others don't.
Expected behavior
Expect the binding-specific advertised listener to be automatically applied to lookup request.
Proposed Solution
Enhance the broker to check for an empty string in the advertisedListenerName field. (code)
The text was updated successfully, but these errors were encountered:
Original Issue: apache#14304
Describe the bug
Some of the language bindings supply an empty string for the
advertisedListenerName
field ofCommandLookupTopic
(e.g. Java vs Golang). This confuses the broker, who then fails to apply the default advertised listener for the given server port. This, in turn, leads to an incorrect topic lookup response and a subsequent connection failure.For background, see [PIP 95] Smart Listener Selection with Multiple Bind Addresses.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the binding-specific advertised listener to be automatically applied to lookup request.
Proposed Solution
Enhance the broker to check for an empty string in the
advertisedListenerName
field. (code)The text was updated successfully, but these errors were encountered: