Important
This repository is obsolete and has been archived in favor of the monorepo fedify-dev/fedify.
This package provides Fedify's KvStore and MessageQueue
implementations for Redis:
import{createFederation}from"@fedify/fedify";import{RedisKvStore,RedisMessageQueue}from"@fedify/redis";import{Redis}from"ioredis";constfederation=createFederation({kv: newRedisKvStore(newRedis()),queue: newRedisMessageQueue(()=>newRedis()),});deno add @fedify/redisnpm install @fedify/redisbun add @fedify/redisTo be released.
Released on March 28, 2025.
Added
RedisMessageQueue.enqueueMany()method for efficiently enqueueing multiple messages in a single transaction.Updated @js-temporal/polyfill to 0.5.0 for Node.js and Bun. On Deno, there is no change because the polyfill is not used.
Released on October 4, 2024.
- Polling is now more efficient.
- Renamed
RedisMessageQueueOptions.loopIntervaloption topollIntervaloption.
Released on September 26, 2024.
- Let
RedisMessageQueuefollow up the latestMessageQueueinterface, which was updated in Fedify 1.0.0. - Added some example code.
Released on June 22, 2024.
- Exported
@fedify/redis/mqmodule.
Initial release. Released on June 22, 2024.