codelipenghui commented on a change in pull request #5570: Transaction log
implemention
URL: https://github.com/apache/pulsar/pull/5570#discussion_r346162797
##########
File path:
pulsar-transaction/coordinator/src/main/java/org/apache/pulsar/transaction/coordinator/TxnMeta.java
##########
@@ -52,6 +53,14 @@
*/
List<String> producedPartitions();
+ /**
+ * Return the the list of subscriptions that this transaction send to.
+ *
+ * @return the list of subscriptions that this transaction produced to.
+ * the returned list is sorted by partition name.
+ */
+ List<TxnSubscription> txnSubscription();
Review comment:
please use `ackedPartitions()`
----------------------------------------------------------------
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]
With regards,
Apache Git Services