apache / apache/pulsar-client-go

when grabCnx/grabConn throw error while create client ,And client will be failure to bean created. but it is not neccessary. and this handle-way is different with java client

Open
#640 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
745
Forks
389
Avg merge
3d 20h
Merged PRs (30d)
3

Description

while create producer or consumer. the code like this
![image](https://user-images.githubusercontent.com/8108604/137310420-a6cd4041-ced9-45ef-895f-67c601e9ef75.png)
![image](https://user-images.githubusercontent.com/8108604/137310460-e550c344-5cbf-49ed-a8b5-4c4e83285a78.png)

this handle way is different with java client . and java code is this
![image](https://user-images.githubusercontent.com/8108604/137310594-3a73247c-4a0a-416e-bc0e-c2bb7f56ae8a.png)
it will retry to connect without throw error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.