I use a persistent subscription with the following settings:
In my code I ack the message with the following HTTP command:
GuzzleHttp\Psr7\Request {#173
-method: “POST”
-requestTarget: null
-uri: GuzzleHttp\Psr7\Uri {#246
-scheme: “http”
-userInfo: “admin:changeit”
-host: “event-store”
-port: 2113
-path: “/subscriptions/FeedsEvents/FeedsSubscription/ack”
-query: “ids=01fe7e54-d35a-45cd-8622-cfb3ec858122”
-fragment: “”
}
-headers: array:3 [
“Host” => array:1 [
0 => “event-store:2113”
]
“Content-Type” => array:1 [
0 => “application/json”
]
“Content-Length” => array:1 [
0 => “0”
]
]
-headerNames: array:3 [
“content-type” => “Content-Type”
“content-length” => “Content-Length”
“host” => “Host”
]
-protocol: “1.1”
-stream: null
}
``
Which shows the following entry in the event store logs:
event-store_1 | [00001,27,08:17:11.815] HTTP Request Received
event-store_1 | 06/27/2018 08:17:11
event-store_1 | From: 172.19.0.18:35222
event-store_1 | POST http://event-store:2113/subscriptions/FeedsEvents/FeedsSubscription/ack?ids=01fe7e54-d35a-45cd-8622-cfb3ec858122
event-store_1 | Host: event-store:2113
event-store_1 | Authorization: Basic YWRtaW46Y2hhbmdlaXQ=
event-store_1 | Accept: /
event-store_1 | Content-Type: application/json
event-store_1 | Content-Length: 0
event-store_1 |
event-store_1 |
event-store_1 | [00001,27,08:17:11.815] HTTP Response
event-store_1 | 06/27/2018 08:17:11
event-store_1 | 202
event-store_1 | Host: event-store:2113
event-store_1 | Authorization: Basic YWRtaW46Y2hhbmdlaXQ=
event-store_1 | Accept: /
event-store_1 | Content-Type: application/json
event-store_1 | Content-Length: 0
``
So it ends with a HTTP 202 so it seems all is great…
But instead of a log entry that a checkpoint is written, I’m receiving this:
event-store_1 | [00001,07,08:35:42.256] Retrying message FeedsEvents::FeedsSubscription FeedsEvents/
event-store_1 | [00001,07,08:35:42.256] Retrying message FeedsEvents::FeedsSubscription FeedsEvents/
event-store_1 | [00001,07,08:35:42.256] Retrying message FeedsEvents::FeedsSubscription FeedsEvents/
event-store_1 | [00001,07,08:35:42.256] Retrying message FeedsEvents::FeedsSubscription FeedsEvents/
``