leonardBang commented on code in PR #3299:
URL: https://github.com/apache/flink-cdc/pull/3299#discussion_r1615917895
##########
flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlStreamingChangeEventSource.java:
##########
@@ -257,6 +260,9 @@ public Event nextEvent(ByteArrayInputStream inputStream)
throws IOException {
try {
// Delegate to the superclass ...
Event event = super.nextEvent(inputStream);
+ if (event == null) {
+ return null;
Review Comment:
+1, I also did't see why we need to skip the null events
--
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]