@mastra/redis-streams
v0.4.2
Published
Mastra Redis Streams PubSub integration
Keywords
Readme
@mastra/redis-streams
RedisStreamsPubSub implements Mastra's PubSub and lease-provider contracts with Redis Streams. Use it for durable event delivery, consumer-group coordination, and workflow leases across multiple processes or hosts.
Installation
npm install @mastra/redis-streamsUsage
import { Mastra } from '@mastra/core/mastra';
import { RedisStreamsPubSub } from '@mastra/redis-streams';
export const mastra = new Mastra({
pubsub: new RedisStreamsPubSub({
url: process.env.REDIS_URL!,
keyPrefix: 'mastra:my-app',
}),
});Documentation
Changelog
See the package changelog for version history and release notes.
Support
We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.
