sandynz commented on code in PR #22740:
URL: https://github.com/apache/shardingsphere/pull/22740#discussion_r1043023564


##########
kernel/data-pipeline/dialect/mysql/src/main/java/org/apache/shardingsphere/data/pipeline/mysql/ingest/client/MySQLClient.java:
##########
@@ -270,6 +280,10 @@ private final class MySQLBinlogEventHandler extends 
ChannelInboundHandlerAdapter
         
         private AbstractBinlogEvent lastBinlogEvent;

Review Comment:
   OK.
   
   1, Could we use `@AllArgsConstructor` to replace constructor?
   
   2, Could we add `volatile` for `lastBinlogEvent`?
   



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