JNSimba commented on code in PR #105: URL: https://github.com/apache/doris-flink-connector/pull/105#discussion_r1113124552
########## flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/JsonDebeziumSchemaSerializer.java: ########## @@ -79,7 +80,11 @@ public JsonDebeziumSchemaSerializer(DorisOptions dorisOptions, Pattern pattern, @Override public byte[] serialize(String record) throws IOException { LOG.debug("received debezium json data {} :", record); - JsonNode recordRoot = objectMapper.readTree(record); + ObjectMapper mapper = new ObjectMapper(); Review Comment: Every piece of data needs a new ObjectMapper? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org