robertwb commented on code in PR #27851:
URL: https://github.com/apache/beam/pull/27851#discussion_r1353132235


##########
sdks/java/core/src/main/java/org/apache/beam/sdk/io/CountingSource.java:
##########
@@ -485,8 +486,8 @@ public long getSplitBacklogBytes() {
    * The checkpoint for an unbounded {@link CountingSource} is simply the last 
value produced. The
    * associated source object encapsulates the information needed to produce 
the next value.
    */
-  @DefaultCoder(AvroCoder.class)
-  public static class CounterMark implements UnboundedSource.CheckpointMark {
+  @DefaultCoder(SerializableCoder.class)

Review Comment:
   The serialization might not be stable when upgrading a pipeline between Java 
versions (or, technically, if this class ever gets changed or moved). 



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