Type Alias RedisPubSubEventBusAdapterSettings

RedisPubSubEventBusAdapterSettings: { client: Redis; serde: ISerde<string> }

Configuration for RedisPubSubEventBusAdapter. Requires a Redis client and a serde for serialising event payloads.

IMPORT_PATH: "@daiso-tech/core/event-bus/redis-pub-sub-event-bus-adapter"

Type declaration

  • client: Redis

    The Redis client instance used for pub/sub messaging.

  • serde: ISerde<string>

    Serde instance for serializing and deserializing event payloads to and from strings.