I have a persistent subscription on a $by_category stream, with the ResolvedLinkedTos = true. I’m consuming events and immediately acknowledging the messages
for {
event, err := readConnectionClient.Read()
readConnectionClient.Ack(event.EventID)
…
}
The events are being read, but these events are being sent to the parked messages bucket. How do I ack ResolvedLinkedTos events using the go client?
It’s a client bug. Because you set ResolveToS to true and how the Go client is currently written, it does the acknowledgement on the resolved event instead of the link event in this case ($by_category is only comprised of links). The ack is just ignored by the server because the event-id doesn’t belong to the persistent subscription.
I’m currently working on the Go client and will address that issue as soon as possible.