Skip to content

[fix] Correct the SendAsync() description - #1066

Merged
RobertIndie merged 1 commit into
apache:masterfrom
Gleiphir2769:fix_sendasync_comment
Jul 27, 2023
Merged

RobertIndie merged 1 commit into
apache:masterfrom
Gleiphir2769:fix_sendasync_comment

Conversation

@Gleiphir2769

Copy link
Copy Markdown
Contributor

Motivation

After #1029 , eventChan is split into dataChan and cmdChan. But the description of SendAsync() is not modified.

// 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)
// The callback will report back the message being published and
// the eventual error in publishing
SendAsync(context.Context, *ProducerMessage, func(MessageID, *ProducerMessage, error))

Modifications

  • Correct the description of SendAsync() description

Verifying this change

  • Make sure that the change passes the CI checks.

@RobertIndie RobertIndie added this to the v0.12.0 milestone Jul 26, 2023
@RobertIndie
RobertIndie merged commit 50015d3 into apache:master Jul 27, 2023
graysonzeng pushed a commit to graysonzeng/pulsar-client-go that referenced this pull request Jul 31, 2023
### Motivation

After apache#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
RobertIndie pushed a commit that referenced this pull request Sep 7, 2023
### 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 50015d3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants