You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/10/18 05:47:45 UTC

[GitHub] [flink] tisonkun commented on a diff in pull request #21075: [FLINK-28085][Connector/Pulsar] Close the pending Pulsar transactions before closing pipeline

tisonkun commented on code in PR #21075:
URL: https://github.com/apache/flink/pull/21075#discussion_r997742396


##########
flink-connectors/flink-connector-pulsar/src/main/java/org/apache/flink/connector/pulsar/common/utils/PulsarTransactionUtils.java:
##########
@@ -60,6 +60,8 @@ public static Transaction createTransaction(PulsarClient pulsarClient, long time
     /**
      * This is a bug in original {@link TransactionCoordinatorClientException#unwrap(Throwable)}
      * method. Pulsar wraps the {@link ExecutionException} which hides the real execution exception.
+     *
+     * <p>This bug should be fixed after the 2.10.1 release. We just keep this for safety.

Review Comment:
   Out of curiosity, can you add the link of Pulsar PR in this thread? When I check the master branch of pulsar, it seems the method `TransactionCoordinatorClientException.unwrap` doesn't change.



-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org