Open liuxin638507 opened 1 month ago
There is no need create a Service
(nodePort/loadbalance) for broker/proxy, only create it for namesrv is fun, because the loadbalance is working by client.
10.42.19.4:8080
10.42.19.4:8080 is proxy address,How to set rmq-proxy parameter or variable? rmq-proxy returns the ip and port of the host when it can be accessed through nodeport
If you access the proxy using the rocketmq-client sdk through load balancing or other methods, you need to configure the remotingAccessAddr parameter in the proxy config.
If you access the proxy using the rocketmq-client sdk through load balancing or other methods, you need to configure the remotingAccessAddr parameter in the proxy config.
How to set it
Before Creating the Bug Report
[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.
[X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
ubuntu20.04
RocketMQ version
version: 5.3.1
JDK Version
docker pull apache/rocketmq:5.3.1
Describe the Bug
rocketmq-proxy deployed in k8s: port 8080 is mapped through the host nodeport, and the rocketmq-proxy container ip and port are returned when the program accesses the nodeport port. How do I set the return to the connected host ip+nodeport port Client. Exception. MQBrokerException: CODE: 15 DESC: Request doesn 't have the field bnane BROKER: 10.42.19.4:8080
Steps to Reproduce
rocketmq-proxy deployed in k8s: port 8080 is mapped through the host nodeport, and the rocketmq-proxy container ip and port are returned when the program accesses the nodeport port. How do I set the return to the connected host ip+nodeport port Client. Exception. MQBrokerException: CODE: 15 DESC: Request doesn 't have the field bnane BROKER: 10.42.19.4:8080
What Did You Expect to See?
How to set rocketmq-proxy access through k8s host nodeport
What Did You See Instead?
How to set rmq-proxy parameter or variable? rmq-proxy returns the ip and port of the host when it can be accessed through nodeport
Additional Context
No response