You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use NATS Streaming in PoWeb's collectParcels method to be notified about new parcels, but we're deprecating NATS Streaming in production (relaycorp/cloud-gateway#84).
Describe the solution you'd like
Replace the NATS Streaming-based non-durable subscription with one based on Redis PubSub, using node-redis or ioredis.
Integrate Redis in development chart.
Update publisher.
Update subscriber.
Describe alternatives you've considered
Using GCP PubSub in Relaycorp-managed, production instances, whilst retaining NATS Streaming support (see #760). However, (1) we need Redis as a backing service anyway (see #19) and (2) making the underlying backend pluggable will increase complexity drastically.
Additional context
This isn't the only use of NATS Streaming. See #929
The text was updated successfully, but these errors were encountered:
gnarea
changed the title
PoWeb: Subscribe to new parcel notifications via Redis PubSub
Subscribe to new parcel notifications in PoWeb via Redis PubSub
Dec 9, 2022
Describe the problem
We currently use NATS Streaming in PoWeb's
collectParcels
method to be notified about new parcels, but we're deprecating NATS Streaming in production (relaycorp/cloud-gateway#84).Describe the solution you'd like
Replace the NATS Streaming-based non-durable subscription with one based on Redis PubSub, using node-redis or ioredis.
Describe alternatives you've considered
Using GCP PubSub in Relaycorp-managed, production instances, whilst retaining NATS Streaming support (see #760). However, (1) we need Redis as a backing service anyway (see #19) and (2) making the underlying backend pluggable will increase complexity drastically.
Additional context
This isn't the only use of NATS Streaming. See #929
The text was updated successfully, but these errors were encountered: