apache / apache/pulsar-client-go

the problem of partition producer number

Open
#327 4 comments 0 reactions 0 assignees View on GitHub
triage/week-30 type/question
Dominant language
Go
Stars
745
Forks
389
Avg merge
3d 20h
Merged PRs (30d)
3

Description

#### Expected behavior

After a bundle successfully moved from broker A to broker B , goclient log show that partition producer has reconnected new broker, but goclient has lots of warn log like"level=warning msg="Got unexpected send receipt for message: ledgerId:87806 entryId:10433 "...". Grafana dashboard show the number of producer have some change,and eventually is not correct

broker log
broker A unload bundle
![image](https://user-images.githubusercontent.com/30923528/88007314-52758380-cb40-11ea-9829-d100be04dac4.png)

![image](https://user-images.githubusercontent.com/30923528/88007212-088c9d80-cb40-11ea-8086-100cefa1a439.png)

broker B load bundle
![image](https://user-images.githubusercontent.com/30923528/88007513-b7c97480-cb40-11ea-9180-faf4898d85c6.png)

![image](https://user-images.githubusercontent.com/30923528/88007442-923c6b00-cb40-11ea-84f8-832de9f428f1.png)

Go client log
![image](https://user-images.githubusercontent.com/30923528/88007978-bc425d00-cb41-11ea-9163-2bc02dda1932.png)
![image](https://user-images.githubusercontent.com/30923528/88007996-c9f7e280-cb41-11ea-8ad5-82ce0f7d2011.png)

grafana
![image](https://user-images.githubusercontent.com/30923528/88008335-a5503a80-cb42-11ea-900e-9832aa004338.png)

#### System configuration
Pulsar version: 2.6.0
Go client version: 0.1.0

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are named. Reproduce the broker A bundle unload and broker B load with Pulsar 2.6.0 and Go client 0.1.0, then compare the Go client warnings with the Grafana producer count; done means the producer count remains correct after reconnection and unexpected send receipts do not accumulate.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
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.