Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,16 @@ License Version 2.0:
audience-annotations-0.13.0
commons-cli-1.4
commons-lang3-3.8.1
jackson-annotations-2.13.5
jackson-core-2.13.5
jackson-databind-2.13.5
jackson-dataformat-csv-2.13.5
jackson-datatype-jdk8-2.13.5
jackson-jaxrs-base-2.13.5
jackson-jaxrs-json-provider-2.13.5
jackson-module-jaxb-annotations-2.13.5
jackson-module-scala_2.13-2.13.5
jackson-module-scala_2.12-2.13.5
jackson-annotations-2.16.0
jackson-core-2.16.0
jackson-databind-2.16.0
jackson-dataformat-csv-2.16.0
jackson-datatype-jdk8-2.16.0
jackson-jaxrs-base-2.16.0
jackson-jaxrs-json-provider-2.16.0
jackson-module-jaxb-annotations-2.16.0
jackson-module-scala_2.13-2.16.0
jackson-module-scala_2.12-2.16.0
jakarta.validation-api-2.0.2
javassist-3.29.2-GA
jetty-client-9.4.57.v20241219
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public class JsonConverter implements Converter, HeaderConverter {
// names specified in the field
private static final HashMap<String, LogicalTypeConverter> LOGICAL_CONVERTERS = new HashMap<>();

private static final JsonNodeFactory JSON_NODE_FACTORY = JsonNodeFactory.withExactBigDecimals(true);
private static final JsonNodeFactory JSON_NODE_FACTORY = new JsonNodeFactory(true);

static {
LOGICAL_CONVERTERS.put(Decimal.LOGICAL_NAME, new LogicalTypeConverter() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class JsonDeserializer implements Deserializer<JsonNode> {
* Default constructor needed by Kafka
*/
public JsonDeserializer() {
this(Collections.emptySet(), JsonNodeFactory.withExactBigDecimals(true));
this(Collections.emptySet(), new JsonNodeFactory(true));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class JsonSerializer implements Serializer<JsonNode> {
* Default constructor needed by Kafka
*/
public JsonSerializer() {
this(Collections.emptySet(), JsonNodeFactory.withExactBigDecimals(true));
this(Collections.emptySet(), new JsonNodeFactory(true));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.TimeZone;

Expand All @@ -64,7 +65,7 @@ public class JsonConverterTest {

private final ObjectMapper objectMapper = new ObjectMapper()
.enable(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS)
.setNodeFactory(JsonNodeFactory.withExactBigDecimals(true));
.setNodeFactory(new JsonNodeFactory(true));

private final JsonConverter converter = new JsonConverter();

Expand Down Expand Up @@ -860,7 +861,7 @@ public void testCacheSchemaToJsonConversion() {

@Test
public void testJsonSchemaCacheSizeFromConfigFile() throws URISyntaxException, IOException {
URL url = getClass().getResource("/connect-test.properties");
URL url = Objects.requireNonNull(getClass().getResource("/connect-test.properties"));
File propFile = new File(url.toURI());
String workerPropsFile = propFile.getAbsolutePath();
Map<String, String> workerProps = !workerPropsFile.isEmpty() ?
Expand Down
4 changes: 2 additions & 2 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ versions += [
grgit: "4.1.1",
httpclient: "4.5.14",
easymock: "4.3",
jackson: "2.13.5",
jacksonDatabind: "2.13.5",
jackson: "2.16.0",
jacksonDatabind: "2.16.0",
jacoco: "0.8.10",
javassist: "3.29.2-GA",
jetty: "9.4.57.v20241219",
Expand Down