Non-Durable consumer groups (aka ephemeral consumers) could not be create as a QueueSubscribe call would always create a durable consumer group. We now call Subscribe instead if there is a non durable group requested.
Also fixes linter warning for the events/natsjs package so green pipelines are possible again.
Also tweaks .golangci.yml minimally by fixing depguard syntax and disabling forbidigo and errcheck for _test.go files.
Non-Durable consumer groups (aka ephemeral consumers) could not be create as a
QueueSubscribe
call would always create a durable consumer group. We now callSubscribe
instead if there is a non durable group requested.Also fixes linter warning for the events/natsjs package so green pipelines are possible again.
Also tweaks
.golangci.yml
minimally by fixing depguard syntax and disablingforbidigo
anderrcheck
for_test.go
files.