Yizhou-Yang commented on code in PR #7924:
URL: https://github.com/apache/inlong/pull/7924#discussion_r1185687301


##########
inlong-sort/sort-connectors/kafka/src/main/java/org/apache/inlong/sort/kafka/partitioner/PrimaryKeyPartitioner.java:
##########


Review Comment:
   Hi! The rawdatahashpartitioner was based on data serialized using 
canal/debezium data and are deserialized using corresponding JsonDynamicFormat. 
However, the PrimaryKeyPartitioner need to support csv/avro/json format in 
addition to canal/debezium, which does not have JsonDynamicFormat and need not 
to be parsed. If we use RawDataHashPartitioner, there will be Null Pointer 
Exceptions from the missing JsonDynamicFormat.



-- 
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]

Reply via email to