EventStore / EventStoreDB-Client-Java

Official Asynchronous Java 8+ Client Library for EventStoreDB 20.6+
https://eventstore.com
Apache License 2.0
61 stars 19 forks source link

Support "CaughtUp" gRPC control message for subscriptions when a subscription becomes live #253

Closed Grisu118 closed 8 months ago

Grisu118 commented 8 months ago

We tried to update to eventstore 23.10.0 and encountered an issue.

With the introduction of the new CaughtUp control message, there is no longer a checkpoint emitted at this point. Which breaks our usecase as we used this to emulate the CaughtUp. Instead of this a warning is logged 2023-11-09T12:19:03.418576641Z [WARN] .d.AbstractRegularSubscription: Confirmed subscription a16d6684-1ddb-4bf7-8dac-5acec7af9146 received non-{event,checkpoint} variant

So support for the new messages would be nice and would allow updating to the new lts eventstore

Related: https://github.com/EventStore/EventStore/pull/3899

YoEight commented 8 months ago

Got the PR ready. When merged, I'll release a new version as soon as possible.

YoEight commented 8 months ago

@Grisu118 the feature is available on 5.2.0 version which is in Maven Central already