Răsfoiți Sursa

#1897 , fix DummyEventStore implements new method (#1932)

Li Qiang 5 ani în urmă
părinte
comite
f04e742f4f

+ 4 - 0
parse/src/test/java/com/alibaba/otter/canal/parse/inbound/group/DummyEventStore.java

@@ -23,6 +23,10 @@ public class DummyEventStore implements CanalEventStore<Event> {
 
     }
 
+    public void ack(Position position, Long seqId) throws CanalStoreException {
+
+    }
+
     public Events get(Position start, int batchSize) throws InterruptedException, CanalStoreException {
         return null;
     }

+ 4 - 0
sink/src/test/java/com/alibaba/otter/canal/sink/stub/DummyEventStore.java

@@ -15,6 +15,10 @@ public class DummyEventStore implements CanalEventStore<Event> {
 
     }
 
+    public void ack(Position position, Long seqId) throws CanalStoreException {
+
+    }
+
     public Events get(Position start, int batchSize) throws InterruptedException, CanalStoreException {
         return null;
     }