This is an automated email from the ASF dual-hosted git repository. zike pushed a commit to branch branch-0.11.0 in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git
commit 60f2908f22ca4b2ad6dd10b507853842761aec94 Author: Jiaqi Shen <[email protected]> AuthorDate: Thu Jul 27 19:08:16 2023 +0800 [fix] Correct the SendAsync() description (#1066) ### Motivation After #1029 , `eventChan` is split into `dataChan` and `cmdChan`. But the description of `SendAsync()` is not modified. https://github.com/apache/pulsar-client-go/blob/9867c29ca329302e97ddd9c6a99f66853c7f447f/pulsar/producer.go#L226-L231 ### Modifications - Correct the description of SendAsync() description (cherry picked from commit 50015d30b807d47d0f7db25d79662817c9f4649e) --- pulsar/producer.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pulsar/producer.go b/pulsar/producer.go index 8fcb891e..70d152c7 100644 --- a/pulsar/producer.go +++ b/pulsar/producer.go @@ -224,8 +224,7 @@ type Producer interface { Send(context.Context, *ProducerMessage) (MessageID, error) // SendAsync a message in asynchronous mode - // This call is blocked when the `event channel` becomes full (default: 10) or the - // `maxPendingMessages` becomes full (default: 1000) + // This call is blocked when the `maxPendingMessages` becomes full (default: 1000) // The callback will report back the message being published and // the eventual error in publishing SendAsync(context.Context, *ProducerMessage, func(MessageID, *ProducerMessage, error))
