I have a persistent subscription and this is returned by the system:
{
"links": [
{
"href": "http://localhost:2113/subscriptions/ApartmentDetailsProcessedEvents/ApartmentDetailsProcessedSubscription/info",
"rel": "detail"
},
{
"href": "http://localhost:2113/subscriptions/ApartmentDetailsProcessedEvents/ApartmentDetailsProcessedSubscription/replayParked",
"rel": "replayParked"
}
],
"config": {
"resolveLinktos": true,
"startFrom": 0,
"messageTimeoutMilliseconds": 30000,
"extraStatistics": false,
"maxRetryCount": 10,
"liveBufferSize": 500,
"bufferSize": 500,
"readBatchSize": 20,
"preferRoundRobin": true,
"checkPointAfterMilliseconds": 3000,
"minCheckPointCount": 10,
"maxCheckPointCount": 1000,
"maxSubscriberCount": 10,
"namedConsumerStrategy": "RoundRobin"
},
"eventStreamId": "ApartmentDetailsProcessedEvents",
"groupName": "ApartmentDetailsProcessedSubscription",
"status": "Live",
"averageItemsPerSecond": 0.0,
"parkedMessageUri": "http://localhost:2113/streams/%24persistentsubscription-ApartmentDetailsProcessedEvents::ApartmentDetailsProcessedSubscription-parked",
"getMessagesUri": "http://localhost:2113/subscriptions/ApartmentDetailsProcessedEvents/ApartmentDetailsProcessedSubscription/1",
"totalItemsProcessed": 416,
"countSinceLastMeasurement": 0,
"lastProcessedEventNumber": 411,
"lastKnownEventNumber": 415,
"readBufferCount": 0,
"liveBufferCount": 416,
"retryBufferCount": 0,
"totalInFlightMessages": 0,
"connections": []
}
``
So I have 416 events, lastProcessed is event 411 and last known event is 415. If I start my consumer then I get this information:
[2018-08-10 07:54:04] event-store-client.debug: Subscription 84c553d39373419096cc9dfe88a86a59 to ApartmentDetailsProcessedEvents: subscribed at CommitPosition: 253677699, EventNumber: 415
``
So where did the remaining 4 events go?
I first thought that they were parked so I pressed the replay parked messages button. But pressing this doesn’t seem to do anything.
I guess that I’m not understanding properly how this works… but would like to understand the numbers and what the red icon means in the interface.