We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad6e2a1 commit 691b1e2Copy full SHA for 691b1e2
spring-kafka-docs/src/main/asciidoc/kafka.adoc
@@ -3896,7 +3896,7 @@ You can use arbitrary headers or inspect the data to determine the type.
3896
----
3897
JavaType thing1Type = TypeFactory.defaultInstance().constructType(Thing1.class);
3898
3899
-JavaType thing1Type = TypeFactory.defaultInstance().constructType(Thing2.class);
+JavaType thing2Type = TypeFactory.defaultInstance().constructType(Thing2.class);
3900
3901
public static JavaType thingOneOrThingTwo(byte[] data, Headers headers) {
3902
// {"thisIsAFieldInThing1":"value", ...
0 commit comments