pulsar-client-go icon indicating copy to clipboard operation
pulsar-client-go copied to clipboard

fix 640,change create way is same as java client

Open baomingyu opened this issue 3 years ago • 0 comments

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 image and java code is this image

baomingyu avatar Oct 14 '21 12:10 baomingyu