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"
});
Is there a way how to get data properly?