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 was archived by the owner on Jan 24, 2024. It is now read-only.
we can see znode value for /loadbalance/brokers/10.xx.xx.58:8089:
"protocols": {
"kafka": "PLAINTEXT://:9996"
}
When kop findBroker(topic), it will get the pulsar node metadata. The protocol about kafka is the information of the above znode. When constructing the Endpoint, the current local hostname will be used to construct the node. If the current node is not the topic's onwer broker, the partition leader in TopicMetadata obtained by the client is always the wrong leader node.
The current leader node of persistent://public/default/test_v1_01-partition-0 is 57 node, but when PartitionMeata is constructed it is 58 node.
To Reproduce
Steps to reproduce the behavior:
Configuration in broker.conf: kafkaListeners=PLAINTEXT://:9996
Start multiple pulsar brokers
The kafka client uses a different broker address to access kop