Skip to main content

rpc_notify_redis 1.3.1 copy "rpc_notify_redis: ^1.3.1" to clipboard
rpc_notify_redis: ^1.3.1 copied to clipboard

Redis Pub/Sub backed repository for rpc_notify, delivering topic subscriptions as change streams.

1.3.1 #

  • Requires rpc_dart 7.0.0 and the new companions.

1.3.0 #

Changed #

  • Requires rpc_notify 1.4.0, and through it rpc_dart 6 — see its changelog.

1.2.0 #

Fixed #

  • Requires rpc_notify 1.3.0, where a per-connection subscriber no longer disposes the shared repository. That is what left a replica holding no Redis connection at all after its first client disconnected.
  • Every network wait is bounded: the connect, the AUTH, the close and the health PING. A hung call stranded the reconnect latch, which gates both the reconnect and the health check, so the repository stopped trying.
  • A publish that reaches nobody is reported (one line per 30s) and triggers a reconnect, instead of returning at a null check.

Added #

  • A heartbeat line with the connection state, because the failure this guards against produces no events at all — an idle connection can die with the subscriber stream signalling neither done nor error.
  • dispose() is idempotent and says that the bus is closing. Subscribing to a disposed repository throws instead of returning a subscription that looks healthy and never delivers.

1.1.0 #

Fixed #

  • The reconnect latch can no longer be stranded, which left the client unable to reconnect for the rest of its life.

1.0.0 #

  • Initial release: Redis Pub/Sub backed repository for rpc_notify, with topic subscriptions delivered as change streams.
0
likes
150
points
731
downloads

Documentation

API reference

Publisher

verified publisherrpc-extra.nogipx.dev

Weekly Downloads

Redis Pub/Sub backed repository for rpc_notify, delivering topic subscriptions as change streams.

Homepage
Repository (GitHub)
View/report issues

Topics

#rpc #notifications #redis

License

MIT (license)

Dependencies

redis, rpc_dart, rpc_notify

More

Packages that depend on rpc_notify_redis