## pubsub

### 設定オプション

- **middleware**: Pub/Sub機能を実装するために使用するミドルウェア。（`redis` または `redisCluster` から選択）
- **host**: Redisサーバーのホスト名（middlewareが `redis` の場合に使用）
- **port**: Redisサーバーのポート番号（middlewareが `redis` の場合に使用）
- **nodes**: Redisクラスターノード情報（middlewareが `redisCluster` の場合に使用）
  - 例：
    ```json
    [
      { "host": "endpoint1", "port": 6379 },
      { "host": "endpoint2", "port": 6379 }
    ]
    ```
- **options**: RedisまたはRedisクラスターに使用する追加オプション

### デフォルト設定例

```javascript
module.exports = {
  pubsub: {
    middleware: 'redis',
    host: 'redis',
    port: 6379,
    options: {
      // Redisに対する追加オプション
    }
  }
}
```

```javascript
module.exports = {
  pubsub: {
    middleware: 'redisCluster',
    nodes: [
      { host: 'endpoint1', port: 6379 },
      { host: 'endpoint2', port: 6379 }
    ],
    options: {
      // Redisクラスターに対する追加オプション
    }
  }
}
```
