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

[feature] expose error to user when producer reconnect to broker failed

Open yorkhellen opened this issue 4 years ago • 2 comments

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 avatar Oct 25 '21 08:10 yorkhellen

@yorkhellen Good patch, can you add test case for this change?

wolfstudy avatar Oct 25 '21 11:10 wolfstudy

cc @cckellogg PTAL again, thanks.

wolfstudy avatar Nov 17 '21 13:11 wolfstudy