stankiewicz commented on code in PR #39612:
URL: https://github.com/apache/beam/pull/39612#discussion_r3802059231


##########
sdks/java/io/solace/src/main/java/org/apache/beam/sdk/io/solace/write/UnboundedBatchedSolaceWriter.java:
##########
@@ -130,12 +139,16 @@ public void finishBundle(FinishBundleContext context) 
throws IOException {
     }
     getCurrentBundle().clear();
 
-    publishResults(BeamContextWrapper.of(context));
+    if (getDeliveryMode() == DeliveryMode.PERSISTENT && messageIdsToAck != 
null) {
+      waitForAcks(BeamContextWrapper.of(context), messageIdsToAck);

Review Comment:
   waitForAcks is waiting for Acks and publishing results in it. 



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