Re-named event-queue/nats into nats-streaming, since nats streaming is deprecated and has jnats 2.6.5 dependency, it does not give implement JetStream support.
event-queue/nats now has nats and jetstream components, latest dependency jnats 2.15.6 is used. Use cases checked:
jetstream is not started before conductor server, it reconnects to jetstream later and working properly
if jetstream component loses connection it is able to self-heal (re-connect)
clustered run of 2 instances connecting and working properly
happy-path of completing Wait tasks and HTTO async complete task.
JetStream is connected as WorkQueue retention policy and uses JetStream push based queue group subscription, which gives round-robin between subscriptions so messages are not processed several times in clustered env.
Pull Request type
Changes in this PR
Re-named event-queue/nats into nats-streaming, since nats streaming is deprecated and has jnats 2.6.5 dependency, it does not give implement JetStream support.
event-queue/nats now has nats and jetstream components, latest dependency jnats 2.15.6 is used. Use cases checked:
New properties added:
JetStream is connected as WorkQueue retention policy and uses JetStream push based queue group subscription, which gives round-robin between subscriptions so messages are not processed several times in clustered env.