Redis

Cloud Agnostic
Open Source

Stores notifications in Redis for high-speed access. Uses key expiration for TTL management.

Source code: Notiway.Plugins.Portable.Storages.Redis

Compatibility

Compatible withAll Buffer, Broker, Auth, and Host plugins
ProductNotiway Notify

Installation

Environment Variables

VariableRequiredDefaultDescription
Infra__Plugins__Storage__NameYesSet to Redis
Infra__Plugins__Storage__VersionYesPlugin version (e.g., 0.9.0)
Infra__Plugins__Storage__Config__ConnectionStringYesRedis connection string (e.g., localhost:6379)
Infra__Plugins__Storage__Config__KeyPrefixNonotiway:Prefix applied to all Redis keys used by this plugin

Infrastructure

  1. Running Redis instance — v5.0+ recommended.
  2. No additional setup needed — keys are created automatically and TTL is managed via key expiration.

Docker Compose

docker-compose.yml
services:
  notiway:
    image: notiway/notify:portable-0.6.0
    ports:
      - "5000:8080"
    environment:
      - Infra__Plugins__Storage__Name=Redis
      - Infra__Plugins__Storage__Version=0.9.0
      - Infra__Plugins__Storage__Config__ConnectionString=redis:6379
      - Infra__Plugins__Storage__Config__KeyPrefix=notiway:

  redis:
    image: redis:7-alpine
    ports:
      - "6379:6379"