aromanenko-dev commented on code in PR #27851:
URL: https://github.com/apache/beam/pull/27851#discussion_r1358384931


##########
sdks/java/core/src/main/java/org/apache/beam/sdk/io/CountingSource.java:
##########
@@ -354,7 +356,7 @@ public UnboundedReader<Long> createReader(PipelineOptions 
options, CounterMark c
 
     @Override
     public Coder<CountingSource.CounterMark> getCheckpointMarkCoder() {
-      return AvroCoder.of(CountingSource.CounterMark.class);
+      return SerializableCoder.of(CountingSource.CounterMark.class);

Review Comment:
   Right, my bad. Finally, I decided to create a custom coder for this to keep 
it compatible with current interfaces (not a case if we change it to 
`SchemaCoder`).



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