You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "michaeljmarshall (via GitHub)" <gi...@apache.org> on 2023/03/22 06:19:19 UTC
[GitHub] [pulsar] michaeljmarshall opened a new pull request, #19892: [improve][broker] Use consumer's startMessageId as readPosition
michaeljmarshall opened a new pull request, #19892:
URL: https://github.com/apache/pulsar/pull/19892
PIP: #19864
### Motivation
This is a draft PR to show one potential way that we could use feedback from the client to influence how an exclusive and a failover consumer reconnect to the broker. The PR hastily put together, so it doesn't necessarily cover all edge cases.
Further, I think the `startMessageId` sent by the client could easily be the newest message in the `incomingMessages` queue since there is no need to resend those messages in this scenario.
Note that this PR does not include logic to handle the case where the client was forcefully disconnected from the broker. That is a case where we would not want to use the provided `startMessageId`.
### Documentation
- [x] `doc-not-needed`
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on pull request #19892: [improve][broker] Use consumer's startMessageId as readPosition
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #19892:
URL: https://github.com/apache/pulsar/pull/19892#issuecomment-1518466278
The pr had no activity for 30 days, mark with Stale label.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org