Running createPersistentSubscription creates a persistent subscription that can be seen in the web ui, however some of the values do not get properly set so running
Results in a persistent subscription being made with the following settings.
So you can see that checkpointAfterTime, checkpointMaxCount, checkpointMinCount, subscriberMaxCount, bufferSize, and messageTimeoutMilliseconds, are not being set to their configured values. In addition events sent to the exampleStream do not get sent to anything that connects to that persistent subscription.
As wrong as the values that do get set for that subscription are, clicking Update on the web ui without changing any of those values and then having the client connect to that persistent subscription will succeed, and events in exampleStream will get processed normally. Unsure if this is just because it puts in reasonable defaults for everything except messageTimeoutMilliseconds and checkpointAfterTime or if there's something else happening too.
Repo with working example can be found here under the persistent-subscription-creation branch.
Which version of EventStore are you using, the client might not be compatible with the latest 20.6.0, the 0.2.x client was tested with EventStore 4.x and 5.x.
Running createPersistentSubscription creates a persistent subscription that can be seen in the web ui, however some of the values do not get properly set so running
Results in a persistent subscription being made with the following settings. So you can see that checkpointAfterTime, checkpointMaxCount, checkpointMinCount, subscriberMaxCount, bufferSize, and messageTimeoutMilliseconds, are not being set to their configured values. In addition events sent to the exampleStream do not get sent to anything that connects to that persistent subscription.
As wrong as the values that do get set for that subscription are, clicking Update on the web ui without changing any of those values and then having the client connect to that persistent subscription will succeed, and events in exampleStream will get processed normally. Unsure if this is just because it puts in reasonable defaults for everything except messageTimeoutMilliseconds and checkpointAfterTime or if there's something else happening too.
Repo with working example can be found here under the persistent-subscription-creation branch.