Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the problem of partition producer number #327

Open
yarthur1 opened this issue Jul 21, 2020 · 4 comments
Open

the problem of partition producer number #327

yarthur1 opened this issue Jul 21, 2020 · 4 comments

Comments

@yarthur1
Copy link
Contributor

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

image

broker B load bundle
image

image

Go client log
image
image

grafana
image

System configuration

Pulsar version: 2.6.0
Go client version: 0.1.0

@sijie
Copy link
Member

sijie commented Jul 22, 2020

@yarthur1 I don't think it is a problem on either client or broker side. This sounds like a grafana problem. Have you checked the query to understand if it is a metric problem?

@yarthur1
Copy link
Contributor Author

@yarthur1 I don't think it is a problem on either client or broker side. This sounds like a grafana problem. Have you checked the query to understand if it is a metric problem?

But it lead to send rate slow, I have add timeout check on Go client send method to test and find lots of timeout

@LvBay
Copy link
Contributor

LvBay commented Jul 24, 2020

@yarthur1 Did you use the same client instance to create both consumers and a producers?
I have encountered a similar problem and have submitted a PR to fix it, hope it can help you.

@yarthur1
Copy link
Contributor Author

@yarthur1 Did you use the same client instance to create both consumers and a producers?
I have encountered a similar problem and have submitted a PR to fix it, hope it can help you.

yes,I use the same client instance. thanks,I will view it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants