[
https://issues.apache.org/jira/browse/FLINK-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15742218#comment-15742218
]
ASF GitHub Bot commented on FLINK-5113:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/2939#discussion_r91961116
--- Diff:
flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/testutils/ValidatingExactlyOnceSink.java
---
@@ -68,15 +69,18 @@ else if (duplicateChecker.nextClearBit(0) !=
numElementsTotal) {
}
@Override
- public Tuple2<Integer, BitSet> snapshotState(long checkpointId, long
checkpointTimestamp) {
- LOG.info("Snapshot of counter "+numElements+" at checkpoint
"+checkpointId);
- return new Tuple2<>(numElements, duplicateChecker);
+ public List<Tuple2<Integer, BitSet>> snapshotState(long checkpointId,
long timestamp) throws Exception {
+ LOG.info("Snapshot of counter "+numElements+" at checkpoint "+
checkpointId);
--- End diff --
either add all missing spaces or none :P
> Make all Testing Functions implement CheckpointedFunction Interface.
> --------------------------------------------------------------------
>
> Key: FLINK-5113
> URL: https://issues.apache.org/jira/browse/FLINK-5113
> Project: Flink
> Issue Type: Improvement
> Components: DataStream API
> Affects Versions: 1.2.0
> Reporter: Kostas Kloudas
> Assignee: Kostas Kloudas
> Fix For: 1.2.0
>
>
> Currently stateful functions implement the (old) Checkpointed interface.
> This is issue aims at porting all these function to the new
> CheckpointedFunction interface, so that they can leverage the new
> capabilities by it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)