Skip to content

Commit 9917222

Browse files
committed
feat: addressing review comments
Contributes to: event-integration/eventstreams-planning/12766 KIP Link: https://cwiki.apache.org/confluence/display/KAFKA/KIP-1054%3A+Support+external+schemas+in+JSONConverte Signed-off-by: Priyanka K U <[email protected]>
1 parent a7975c0 commit 9917222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect/json/src/test/java/org/apache/kafka/connect/json/JsonConverterTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ public void testVersionRetrievedFromAppInfoParser() {
982982

983983
@Test
984984
public void testSchemaContentIsNull() {
985-
converter.configure(Map.of(JsonConverterConfig.SCHEMA_CONTENT_CONFIG, null), false);
985+
converter.configure(Collections.singletonMap(JsonConverterConfig.SCHEMA_CONTENT_CONFIG, null), false);
986986
assertEquals(new SchemaAndValue(Schema.STRING_SCHEMA, "foo-bar-baz"), converter.toConnectData(TOPIC, "{ \"schema\": { \"type\": \"string\" }, \"payload\": \"foo-bar-baz\" }".getBytes()));
987987
}
988988

0 commit comments

Comments
 (0)