Skip to content

Commit

Permalink
DBZ-5962 Add comment explaning usage of the await without timeout
Browse files Browse the repository at this point in the history
Also remove unneeded change in `pom.xml`.
  • Loading branch information
vjuranek committed Jan 17, 2023
1 parent 15a19fa commit 81cd9be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 81cd9be

Please sign in to comment.