pulsar-client-go
pulsar-client-go copied to clipboard
[feature] expose error to user when producer reconnect to broker failed
Create producer failed will return error message to user. In some case broker notify producer close and producer can't reconnect broker successfully, but we can't get the error message when producer internal reconnect broker failed. We need handle error message. so expose error to user when producer reconnect to broker failed.
@yorkhellen Good patch, can you add test case for this change?
cc @cckellogg PTAL again, thanks.