forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pulsar-io] [doc] Add docs for Redis sink (apache#4046)
### Motivation Add docs for Redis sink. ### Modifications Add `io-redis.md`.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
id: io-redis | ||
title: redis Connector | ||
sidebar_label: redis Connector | ||
--- | ||
|
||
## Sink | ||
|
||
The redis Sink Connector is used to pull messages from Pulsar topics and persist the messages | ||
to a redis database. | ||
|
||
## Sink Configuration Options | ||
|
||
| Name | Default | Required | Description | | ||
|------|---------|----------|-------------| | ||
| `redisHosts` | `null` | `true` | A comma separated list of Redis hosts to connect to. | | ||
| `redisPassword` | `null` | `false` | The password used to connect to Redis. | | ||
| `redisDatabase` | `0` | `true` | The Redis database to connect to. | | ||
| `clientMode` | `Standalone` | `false` | The client mode to use when interacting with the Redis cluster. Possible values [Standalone, Cluster]. | | ||
| `autoReconnect` | `true` | `false` | Flag to determine if the Redis client should automatically reconnect. | | ||
| `requestQueue` | `2147483647` | `false` | The maximum number of queued requests to Redis. | | ||
| `tcpNoDelay` | `false` | `false` | Flag to enable TCP no delay should be used. | | ||
| `keepAlive` | `false` | `false` | Flag to enable a keepalive to Redis. | | ||
| `connectTimeout` | `10000` | `false` | The amount of time in milliseconds to wait before timing out when connecting. | | ||
| `operationTimeout` | `10000` | `false` | The amount of time in milliseconds before an operation is marked as timed out. | | ||
| `batchTimeMs` | `1000` | `false` | The Redis operation time in milliseconds. | | ||
| `batchSize` | `1000` | `false` | The batch size of write to Redis database. | |