shibd commented on PR #1036: URL: https://github.com/apache/pulsar-client-go/pull/1036#issuecomment-1612679607
@gunli Hi, Thanks for your contribution! It is enough to check if the callback is nil when the user pass. https://github.com/apache/pulsar-client-go/blob/3da3e5d43134e7ccca933c6a80d6a20fb926e05a/pulsar/producer_partition.go#L1102-L1105 `Callbacks` elsewhere are coming in internally, so we don't need to check them. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
