You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/10/14 12:40:07 UTC

[GitHub] [pulsar-client-go] baomingyu opened a new pull request #641: fix 640,change create way is same as java client

baomingyu opened a new pull request #641:
URL: https://github.com/apache/pulsar-client-go/pull/641


   Fixes #640
   
   Master Issue: #640
   
   go client create producer and consumer client way is different with java client. and go client will throw error when call grabCnx while  Lookup or after sending CommandProducer.
   if use get this error,  use must retry recreate client and this way is not neccessary.  and connect need to reconnect while send or connect check way.
   
   java client handle like this, so it need be changed .
   
   ![image](https://user-images.githubusercontent.com/8108604/137318916-16baaab0-d03f-4bb4-bda8-fb5238d418e3.png)
   ![image](https://user-images.githubusercontent.com/8108604/137318933-9d09d2e9-9a27-463b-8bce-766bf8db9fe5.png)
   and java code is this
   ![image](https://user-images.githubusercontent.com/8108604/137319037-ccdaacde-c4df-4410-abe1-34a4f00eadfd.png)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org