gguptp commented on code in PR #219:
URL:
https://github.com/apache/flink-connector-aws/pull/219#discussion_r2601204217
##########
flink-connector-aws/flink-connector-dynamodb/src/main/java/org/apache/flink/connector/dynamodb/source/split/DynamoDbStreamsShardSplitSerializer.java:
##########
@@ -74,6 +78,18 @@ public byte[] serialize(DynamoDbStreamsShardSplit split)
throws IOException {
out.writeUTF(split.getParentShardId());
}
out.writeBoolean(split.isFinished());
+ out.writeInt(split.getChildSplits().size());
Review Comment:
i took a look at the code again, the bw compatibliity is handled by keeping
the `if (version > 1) {` check in deserialize method
--
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]