Skip to content

Commit 477a90b

Browse files
committed
docs: Documented empty keyspace
1 parent 2a19d5a commit 477a90b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guide/src/docs/asciidoc/sink.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Redis keys are generated using the `redis.keyspace` configuration property which
4848
For `string`, `json`, and `hash` data structures, the Kafka message key will be appended to the keyspace.
4949
For example, with `redis.type = string`, `redis.keyspace = ${topic}`, a message coming from topic `orders` with a key of `123` will translate into a Redis key of `orders:123`.
5050

51+
Leave the keyspace empty ( `redis.keyspace =` ) if you don't want any key prefix and just use the message key.
52+
5153
For `stream`, `list`, `set`, `zset`, and `timeseries` the Redis key is just the keyspace.
5254
For example with `redis.keyspace = set:${topic}` and topic `orders` the Redis key is `set:orders`.
5355

0 commit comments

Comments
 (0)