0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/pubsub/valkey-streams
History 2026-11-12 21:12:29 +00:00
..
src feat(valkey): identify Mastra-created clients with a clientInfoTag (#30156) 2026-11-11 17:57:11 -08:00
CHANGELOG.md chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
docker-compose.yaml chore(deps): update docker images (major) (#19788) 2026-11-11 17:08:49 -08:00
lint-staged.config.js refactor(lint): replace ESLint with type-aware oxlint (#27476) 2026-10-18 10:38:35 -07:00
package.json chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
README.md chore(*): Update/unify/add READMEs (#22858) 2026-09-02 14:36:59 +02:00
tsconfig.build.json Add first-class Valkey storage and PubSub integrations (#22176) 2026-08-24 09:52:43 -07:00
tsconfig.json Add first-class Valkey storage and PubSub integrations (#22176) 2026-08-24 09:52:43 -07:00
tsdown.config.ts Add first-class Valkey storage and PubSub integrations (#22176) 2026-08-24 09:52:43 -07:00
vitest.config.ts fix(ci): give valkey-streams its own vitest project name (#22237) 2026-08-24 12:09:25 -07:00

@mastra/valkey-streams

ValkeyStreamsPubSub implements Mastra's PubSub and lease-provider contracts with Valkey Streams through Valkey GLIDE. Use it for durable event delivery and distributed workflow coordination when your infrastructure is built on Valkey.

Installation

npm install @mastra/valkey-streams

Usage

import { Mastra } from '@mastra/core/mastra';
import { ValkeyStreamsPubSub } from '@mastra/valkey-streams';

export const mastra = new Mastra({
  pubsub: new ValkeyStreamsPubSub({
    url: process.env.VALKEY_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.