WJL3333 commented on code in PR #18323:
URL: https://github.com/apache/pulsar/pull/18323#discussion_r1014797835
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Topic.java:
##########
@@ -144,13 +144,17 @@ default void setEntryTimestamp(long entryTimestamp) {
void removeProducer(Producer producer);
+ /**
+ * return if transaction disabled when call
checkIfTransactionBufferRecoverCompletely
+ */
+ CompletableFuture<Void> TRANSACTION_DISABLED =
CompletableFuture.completedFuture(null);
Review Comment:
thanks for review, i agree with you, i will move the defination to
`TransactionBuffer`
--
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]