# Atmosphere Redis Clustering

Cross-node broadcasting via Redis pub/sub. Messages broadcast on one node are delivered to clients on all nodes.

## Maven Coordinates

```xml
<dependency>
    <groupId>org.atmosphere</groupId>
    <artifactId>atmosphere-redis</artifactId>
    <version>${project.version}</version>
</dependency>
```

## Quick Start

```properties
org.atmosphere.cpr.broadcasterClass=org.atmosphere.plugin.redis.RedisBroadcaster
org.atmosphere.redis.url=redis://localhost:6379
```

## Configuration

| Property | Default | Description |
|----------|---------|-------------|
| `org.atmosphere.redis.url` | `redis://localhost:6379` | Redis connection URL |
| `org.atmosphere.redis.password` | (none) | Optional password |

## Key Classes

| Class | Purpose |
|-------|---------|
| `org.atmosphere.plugin.redis.RedisBroadcaster` | Broadcaster that publishes/subscribes via Redis pub/sub |
| `org.atmosphere.plugin.redis.RedisClusterBroadcastFilter` | `ClusterBroadcastFilter` for use with `DefaultBroadcaster` |

## Full Documentation

See <https://atmosphere.github.io/docs/infrastructure/redis/> for complete documentation.

## Requirements

- Java 21+
- `atmosphere-runtime` (transitive)
- Lettuce (Redis client)
