File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ The following example creates a set of mappings:
138
138
[source, java]
139
139
----
140
140
senderProps.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, JsonSerializer.class);
141
- senderProps.put(JsonSerializer.TYPE_MAPPINGS, "cat:com.mycat.Cat, hat:com.myhat.hat ");
141
+ senderProps.put(JsonSerializer.TYPE_MAPPINGS, "cat:com.mycat.Cat, hat:com.myhat.Hat ");
142
142
...
143
143
consumerProps.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, JsonDeserializer.class);
144
- consumerProps.put(JsonDeSerializer.TYPE_MAPPINGS, "cat:com.yourcat.Cat, hat:com.yourhat.hat ");
144
+ consumerProps.put(JsonDeSerializer.TYPE_MAPPINGS, "cat:com.yourcat.Cat, hat:com.yourhat.Hat ");
145
145
----
146
146
147
147
IMPORTANT: The corresponding objects must be compatible.
You can’t perform that action at this time.
0 commit comments