I setup persistent subscription and it seems to work in general (e.g. data are coming back).
I use following settings: strategy: “pinned”, resolveLinkTos: true
When receiving pre-existing events the data are coming as expected but for real-time the structure just contains link with binary data:
const sub = this.client.connectToPersistentSubscription<JSONEventType>("$ce-xzc", groupName);
sub.on("data", async evt => {
const event = evt.event; // this is unresolved for live data and link contains "binary"
});
That apparently caused that in $ce-TT the live events didn’t fly thru. I tested this with NodeJS and .NET core client and both behaved the same way so it is rather server side issue.
Anyway - after changing the format of primary event stream identifier things started to work like a charm…
It would be nice though if such key is not accepted to avoid confusion…