You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collection keys are generated using the `redis.key` configuration property which may contain `${topic}` (default) as a placeholder for the originating topic name.
34
34
+
35
35
For example with `redis.key = ${topic}` and topic `orders` the Redis key is `set:orders`.
For other data-structures the key is in the form `<keyspace>:<record_key>` where `keyspace` is generated using the `redis.key` configuration property like above and `record_key` is the sink record key.
40
40
+
41
41
For example with `redis.key = ${topic}`, topic `orders`, and sink record key `123` the Redis key is `orders:123`.
42
42
43
-
[[sync-hash]]
43
+
[[sink-hash]]
44
44
==== Hash
45
45
Use the following properties to write Kafka records as Redis hashes:
46
46
@@ -55,7 +55,7 @@ value.converter=<Avro or JSON> <2>
55
55
<2> <<avro,Avro>> or <<kafka-json,JSON>>.
56
56
If value is null the key is deleted.
57
57
58
-
[[sync-string]]
58
+
[[sink-string]]
59
59
==== String
60
60
Use the following properties to write Kafka records as Redis strings:
61
61
@@ -70,7 +70,7 @@ value.converter=<string or bytes> <2>
70
70
<2> <<value-string,String>> or <<value-bytes,bytes>>.
71
71
If value is null the key is deleted.
72
72
73
-
[[sync-json]]
73
+
[[sink-json]]
74
74
==== JSON
75
75
Use the following properties to write Kafka records as RedisJSON documents:
76
76
@@ -85,7 +85,7 @@ value.converter=<string, bytes, or Avro> <2>
85
85
<2> <<value-string,String>>, <<value-bytes,bytes>>, or <<avro,Avro>>.
86
86
If value is null the key is deleted.
87
87
88
-
[[sync-stream]]
88
+
[[sink-stream]]
89
89
==== Stream
90
90
Use the following properties to store Kafka records as Redis stream messages:
91
91
@@ -99,7 +99,7 @@ value.converter=<Avro or JSON> <2>
99
99
<1> <<collection-key,Stream key>>
100
100
<2> <<avro,Avro>> or <<kafka-json,JSON>>
101
101
102
-
[[sync-list]]
102
+
[[sink-list]]
103
103
==== List
104
104
Use the following properties to add Kafka record keys to a Redis list:
105
105
@@ -118,7 +118,7 @@ redis.push.direction=<LEFT or RIGHT> <3>
118
118
The Kafka record value can be any format.
119
119
If a value is null then the member is removed from the list (instead of pushed to the list).
120
120
121
-
[[sync-set]]
121
+
[[sink-set]]
122
122
==== Set
123
123
Use the following properties to add Kafka record keys to a Redis set:
124
124
@@ -135,7 +135,7 @@ key.converter=<string or bytes> <2>
135
135
The Kafka record value can be any format.
136
136
If a value is null then the member is removed from the set (instead of added to the set).
137
137
138
-
[[sync-zset]]
138
+
[[sink-zset]]
139
139
==== Sorted Set
140
140
Use the following properties to add Kafka record keys to a Redis sorted set:
141
141
@@ -152,7 +152,7 @@ key.converter=<string or bytes> <2>
152
152
The Kafka record value should be `float64` and is used for the score.
153
153
If the score is null then the member is removed from the sorted set (instead of added to the sorted set).
154
154
155
-
[[sync-timeseries]]
155
+
[[sink-timeseries]]
156
156
==== Time Series
157
157
158
158
Use the following properties to write Kafka records as RedisTimeSeries samples:
0 commit comments