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";
const federation = createFederation({
kv: new RedisKvStore(new Redis()),
queue: new RedisMessageQueue(() => new Redis()),
});
deno add @fedify/redis
npm install @fedify/redis
bun add @fedify/redis
To be released.
Released on October 4, 2024.
- Polling is now more efficient.
- Renamed
RedisMessageQueueOptions.loopInterval
option topollInterval
option.
Released on September 26, 2024.
- Let
RedisMessageQueue
follow up the latestMessageQueue
interface, which was updated in Fedify 1.0.0. - Added some example code.
Released on June 22, 2024.
- Exported
@fedify/redis/mq
module.
Initial release. Released on June 22, 2024.