A Redis-based event bus module for Amphora CMS that enriches published messages with additional context. Compatible with Amphora v7.1.0. This is an alternative to the default in-memory or simple bus, providing persistence and cross-process communication via Redis. It uses the same CLAY_BUS_HOST environment variable as Amphora's default bus and respects topic namespaces. The module must be passed to Amphora's eventBus option. It is a small, focused package with minimal dependencies, suited for production deployments requiring reliable event distribution across multiple Amphora instances.
npm install amphora-event-bus-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes Amphora with the Redis event bus module, assuming CLAY_BUS_HOST env var is set.
Set the environment variable before starting the application: export CLAY_BUS_HOST=redis://localhost:6379
Ensure Amphora version is exactly ^7.1.0.
Start Redis server or set CLAY_BUS_HOST to a valid Redis URL.
Assign require('amphora-event-bus-redis') directly, without wrapping.No dependency data recorded yet.