pulsar-manager icon indicating copy to clipboard operation
pulsar-manager copied to clipboard

Pulsar Manager sometimes could not create a topic if the cluster has multiple brokers in the cluster

Open thomasechen opened this issue 2 years ago • 2 comments

Dear All,

I am currently try to adopt the Pulsar solution into our environment and I had an issue related to the "Pulsar Manager".

After deploying the Pulsar manager in our k8s environment and we can easily create the topic in each tenant and namespace if there was only one broker in the cluster. If the cluster have multiple brokers in it, the Pulsar manager could sometimes create topics successfully but sometimes not( It seems need some luck ) .

Have you ever met this problem in your environment before and how do you solve it? Can you share me the experience how to config the Pulsar Manager to let it works perfectly?

Please give me some your suggestions and advice to solve the issue

  1. Create a topic successfully image

  2. Failed to create a topic image

thomasechen avatar Mar 08 '22 06:03 thomasechen

Dear All,

I found that the response code from Pulsar is 307 and it means "Current broker doesn't serve the namespace of this topic" This is the reason why the system sometime create topics successfully but sometime not.

Is there any idea to solve this ?

image

thomasechen avatar Mar 08 '22 07:03 thomasechen

You can try to update the Service Url to that of a single node, for example http://your.node.Ip:8080. I filled in the Host of three nodes, which made it unavailable

Mr-Qiuqi avatar Nov 11 '22 03:11 Mr-Qiuqi