Skip to content

Unable to connect to Pulsar in Multi AKS cluster setup #614

@SrikanthNampally

Description

@SrikanthNampally

@lhotari
Hello,
We have Pulsar cluster deployed across different AKS regions along with Pulsar Proxy. And when clients connect to proxy using the proxy endpoint it is not resolving to the external advertised Listener which is configured in the broker config. The error we are getting is below. Is there a specific config or parameter for this to work in a multi AKS cluster.(Single Pulsar cluster deployed acress multiple AKS clusters)

WARN org.apache.pulsar.client.impl.ClientCnx - [id: 0xb9d71e43, L:/ xxx.xx.xxx.xx:43504 - R:pulsar-proxy.d9.abc.musea2.azdt.abc.com/xxx.xx.xx.aaa:6651] Received error from server: Namespace bundle for topic (persistent://apache/pulsar/test-topic-1-partition-0) not served by this instance:pulsar-test-broker-1.pulsar-test-broker.pulsar-d9-fleet.svc.cluster.local:8080. Please redo the lookup. Request is denied: namespace=apache/pulsar 2025-05-28T18:15:10,863+0000 [pulsar-client-io-3-1] INFO org.apache.pulsar.client.impl.ProducerImpl - [persistent://apache/pulsar/test-topic-1-partition-0] [null] Temporary error in creating producer: {"errorMsg":"Namespace bundle for topic (persistent://apache/pulsar/test-topic-1-partition-0) not served by this instance:pulsar-test-broker-1.pulsar-test-broker. pulsar-d9-fleet.svc.cluster.local:8080. Please redo the lookup. Request is denied: namespace=apache/pulsar","reqId":2726814634015880194, "remote":"pulsar-proxy.d9.a182198.musea2.azdt.abc.com/ xxx.xx.xxx.xx:6651", "local":"/ xxx.xx.xxx.xx:43504"} 2025-05-28T18:15:10,863+0000 [pulsar-client-io-3-1] WARN org.apache.pulsar.client.impl.ConnectionHandler - [persistent://apache/pulsar/test-topic-1-partition-0] [null] Error connecting to broker: org.apache.pulsar.client.api.PulsarClientException$LookupException: {"errorMsg":"Namespace bundle for topic (persistent://apache/pulsar/test-topic-1-partition-0) not served by this instance:pulsar-test-broker-1.pulsar-test-broker. pulsar-d9-fleet.svc.cluster.local:8080. Please redo the lookup. Request is denied: namespace=apache/pulsar","reqId":2726814634015880194, "remote":"pulsar-proxy.d9.a182198.musea2.azdt.abc.com/ xxx.xx.xxx.xx:6651", "local":"/ xxx.xx.xxx.xx:43504"} 2025-05-28T18:15:10,863+0000 [pulsar-client-io-3-1] WARN org.apache.pulsar.client.impl.ConnectionHandler - [persistent://apache/pulsar/test-topic-1-partition-0] [null] Could not get connection to broker: org.apache.pulsar.client.api.PulsarClientException$LookupException: {"errorMsg":"Namespace bundle for topic (persistent://apache/pulsar/test-topic-1-partition-0) not served by this instance:pulsar-test-broker-1.pulsar-test-broker. pulsar-d9-fleet.svc.cluster.local:8080. Please redo the lookup. Request is denied: namespace=apache/pulsar","reqId":2726814634015880194, "remote":"pulsar-proxy.d9.a182198.musea2.azdt.abc.com/ xxx.xx.xxx.xx:6651", "local":"/ xxx.xx.xxx.xx:43504"} -- Will try again in 0.1 s 2025-05-28T18:15:10,965+0000 [pulsar-timer-9-1] INFO org.apache.pulsar.client.impl.ConnectionHandler - [persistent://apache/pulsar/test-topic-1-partition-0] [null] Reconnecting after connection was closed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions