gaoran10 commented on a change in pull request #7856:
URL: https://github.com/apache/pulsar/pull/7856#discussion_r482848567
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/transaction/TransactionCoordinatorClientImpl.java
##########
@@ -176,6 +178,30 @@ public void addPublishPartitionToTxn(TxnID txnID,
List<String> partitions) throw
return handler.addPublishPartitionToTxnAsync(txnID, partitions);
}
+ @Override
+ public void addSubscriptionToTxn(TxnID txnID, String topic, String
subscription)
+ throws TransactionCoordinatorClientException {
+ try {
+ addSubscriptionToTxnAsync(txnID, topic, subscription);
Review comment:
I miss calling the get().
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]