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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]