DBZ-5962 Add comment explaning usage of the await without timeout

Also remove unneeded change in `pom.xml`.
This commit is contained in:
Vojtech Juranek 2023-01-16 08:54:41 +01:00
parent 15a19fa8db
commit 81cd9be4ec
2 changed files with 3 additions and 1 deletions

View File

@ -153,7 +153,10 @@ public void onException(Throwable throwable) {
throw new DebeziumException(e);
}
}
// Messages have set default send timeout, so this will not block forever.
latch.await();
for (ChangeEvent<Object, Object> record : records) {
committer.markProcessed(record);
}

View File

@ -139,7 +139,6 @@
<!-- Infinispan version for Oracle and Debezium Server sink -->
<version.infinispan>14.0.4.Final</version.infinispan>
<version.infinispan.protostream>4.5.0.Final</version.infinispan.protostream>
</properties>
<modules>