apache / apache/pulsar

geo-replication AuthenticationException: Unable to authenticate

Open
#16,280 3 comments 0 reactions 0 assignees View on GitHub
Stale
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

#### Actual behavior
##### broker.log
16:18:10.795 [pulsar-io-4-16] WARN org.apache.pulsar.broker.service.AbstractReplicator - [persistent://public/x01/iot-signal-canlog-testtwo-partition-0][pulsar-cluster-ontest-1 -> pulsar-ontest] Failed to create remote producer (org.apache.pulsar.client.api.PulsarClientException$AuthenticationException: Unable to authenticate), retrying in 57.915 s

##### source cluster name: pulsar-cluster-ontest-1
##### target cluster name: pulsar-ontest

##### Configure the target cluster information in the source cluster
![image](https://user-images.githubusercontent.com/18319597/176402048-7e70d6ce-76f4-4bea-83ff-6d4028a78157.png)

##### Target cluster enable geo-replication at namespace level
![image](https://user-images.githubusercontent.com/18319597/176402404-a6267b1a-2767-4037-ad9b-f2ed8a87d8b0.png)
![image](https://user-images.githubusercontent.com/18319597/176403652-010287e0-0685-4660-b5ef-9dc71ef23ca4.png)

#### System configuration
**Pulsar version**: 2.9.1

Contributor guide

Open the contributing guide

Research direction

Start with broker.log and the source/target cluster configuration described in the issue, then reproduce geo-replication on Pulsar 2.9.1 with namespace-level replication enabled. Trace the failed remote-producer authentication between pulsar-cluster-ontest-1 and pulsar-ontest; done means replication authenticates without the logged AuthenticationException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.