flowchartsman commented on pull request #12316:
URL: https://github.com/apache/pulsar/pull/12316#issuecomment-939628977
I have issued a new commit, which I believe clarifies the logic. The only
part that does not entirely make sense to me is:
```go
if autoAck && !atMostOnce {
gi.ackInputMessage(msgInput)
}
gi.stats.incrTotalProcessedSuccessfully()
```
Why is it `!atMostOnce` inside the error-handling callback and
```go
if autoAck && atLeastOnce {
gi.ackInputMessage(msgInput)
}
```
if there is no message or output topic? Is this an error or is it to account
for effectively-once somehow?
--
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]