This PR adds a new function NewClientWithQueueGroup to the wRPC Go NATS client that, when a queue group is provided, will serve on a queue group rather than just a regular subscribe. This will allow users of the NATS client to run multiple services that serve the same functionality without duplication.
I could've just added this to the NewClient function, but I figured I'd avoid the breaking change there and simply add another constructor. Open to changing this back if desired
This PR adds a new function
NewClientWithQueueGroup
to the wRPC Go NATS client that, when a queue group is provided, will serve on a queue group rather than just a regular subscribe. This will allow users of the NATS client to run multiple services that serve the same functionality without duplication.I could've just added this to the
NewClient
function, but I figured I'd avoid the breaking change there and simply add another constructor. Open to changing this back if desired