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
Copy file name to clipboardExpand all lines: src/docs/asciidoc/_sink.adoc
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ value.converter=<Avro or JSON> <2>
47
47
----
48
48
49
49
<1> <<collection-key,Stream key>>
50
-
<2> <<avro,Avro>> or <<json,JSON>>
50
+
<2> <<avro,Avro>> or <<kafka-json,JSON>>
51
51
52
52
==== Hash
53
53
Use the following properties to write Kafka records as Redis hashes:
@@ -60,7 +60,7 @@ value.converter=<Avro or JSON> <2>
60
60
----
61
61
62
62
<1> <<key-string,String>> or <<key-bytes,bytes>>
63
-
<2> <<avro,Avro>> or <<json,JSON>>. If value is null the key is https://redis.io/commands/del[deleted].
63
+
<2> <<avro,Avro>> or <<kafka-json,JSON>>. If value is null the key is https://redis.io/commands/del[deleted].
64
64
65
65
==== String
66
66
Use the following properties to write Kafka records as Redis strings:
@@ -122,6 +122,7 @@ key.converter=<string or bytes> <2>
122
122
123
123
The Kafka record value should be `float64` and is used for the score. If the score is null then the member is removed from the sorted set (instead of added to the sorted set).
124
124
125
+
[[redisjson]]
125
126
==== JSON
126
127
Use the following properties to write Kafka records as RedisJSON documents:
127
128
@@ -197,8 +198,8 @@ Multiple data formats are supported for Kafka record values depending on the con
197
198
[options="header",cols="h,1,1"]
198
199
|====
199
200
|Target|Record Value|Assigned To
200
-
|Stream|<<avro,Avro>> or <<json,JSON>>|Message body
201
-
|Hash|<<avro,Avro>> or <<json,JSON>>|Fields
201
+
|Stream|<<avro,Avro>> or <<kafka-json,JSON>>|Message body
202
+
|Hash|<<avro,Avro>> or <<kafka-json,JSON>>|Fields
202
203
|String|<<value-string,String>> or <<value-bytes,bytes>>|Value
0 commit comments