Skip to content

Expose current stream positions and retry count when consuming a subscriptions#144

Merged
thefringeninja merged 1 commit intotrunkfrom
stream-position
Jun 22, 2022
Merged

Expose current stream positions and retry count when consuming a subscriptions#144
thefringeninja merged 1 commit intotrunkfrom
stream-position

Conversation

@YoEight
Copy link
Contributor

@YoEight YoEight commented Apr 27, 2022

This PR exposes:

  • the first and last event number of a stream when reading (regular read and subscriptions)
  • retry count when consuming a persistent subscription.

@YoEight YoEight changed the title Expose current stream positions and retry count when consuming a subs… Expose current stream positions and retry count when consuming a subscriptions Apr 27, 2022
@hayley-jean hayley-jean added the breaking This PR contains a breaking change label May 2, 2022
@YoEight YoEight force-pushed the stream-position branch 3 times, most recently from 073a66e to b2e4f1d Compare May 11, 2022 13:00
@hayley-jean hayley-jean requested a review from oskardudycz May 12, 2022 11:13
Copy link
Contributor

@oskardudycz oskardudycz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YoEight, @hayley-jean, I'm not against such changes; they look fine. However, I think that we should make sure that this is the intended handling also in other clients. It is already different from .NET gRPC client. I'm not sure how other clients are dealing with it.

@YoEight YoEight force-pushed the stream-position branch 3 times, most recently from 12c8889 to a8dff17 Compare May 31, 2022 12:40
@YoEight YoEight force-pushed the stream-position branch 3 times, most recently from 9c61b46 to 355136f Compare June 7, 2022 17:23
@YoEight YoEight force-pushed the stream-position branch from 355136f to 166556c Compare June 7, 2022 19:20
@thefringeninja thefringeninja merged commit 069d8bd into trunk Jun 22, 2022
@thefringeninja thefringeninja deleted the stream-position branch June 22, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This PR contains a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants