duowan1520 commented on code in PR #7924:
URL: https://github.com/apache/inlong/pull/7924#discussion_r1188053827


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


Review Comment:
   Should we consider elevating the logic for extracting primary keys to a 
higher level and then merging the PrimaryKeyPartitioner and 
RawDataHashPartitioner into a hash-based Partitioner? This would help avoid 
introducing different partitioners when choosing between synchronizing a single 
table or multiple tables.



-- 
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...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to