Thank you Colin for the leads.
Now after having played with it, I don't understand,
when your service subscribes to a queuegroup, (nats server)
you have to provide channel and queue
qs, e := conn.QueueSubscribe("scraper.scrapePageRequest", "scrapeWorker", s.NatsMessageHandler)
But when publishing to the channel you only have the channel parameter.
So far I have only played with nats server, not stream. I understand if I'd like to be able to replay messages I'll have to use nats stream?
If not I'm not sure where it fits in.
Jetstream looks very promising.
> --
> You received this message because you are subscribed to a topic in the Google Groups "nats" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/natsio/BhCk97SPU5o/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
natsio+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/natsio/9677d58a-0a82-4df7-b7ab-949df7d80380n%40googlegroups.com.
--
Best Regards
Darko Luketic