We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33df5c6 commit 63b6db3Copy full SHA for 63b6db3
generator/src/main/java/org/apache/kafka/message/MessageGenerator.java
@@ -165,6 +165,7 @@ public final class MessageGenerator {
165
JSON_SERDE = new ObjectMapper();
166
JSON_SERDE.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
167
JSON_SERDE.configure(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true);
168
+ JSON_SERDE.configure(DeserializationFeature.FAIL_ON_TRAILING_TOKENS, true);
169
JSON_SERDE.configure(JsonParser.Feature.ALLOW_COMMENTS, true);
170
JSON_SERDE.setSerializationInclusion(JsonInclude.Include.NON_EMPTY);
171
}
0 commit comments