From 7f7d93144452cee7094c661de80c7605cd2e6359 Mon Sep 17 00:00:00 2001 From: thetumbled <52550727+thetumbled@users.noreply.github.com> Date: Thu, 22 Dec 2022 19:12:13 +0800 Subject: [PATCH] [fix][txn] Correct the prompt message (#17009) Co-authored-by: fengwenzhi --- .../transaction/pendingack/impl/PendingAckHandleImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java index 4f4c61d372b8f..7b18d46930858 100644 --- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java +++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java @@ -190,7 +190,7 @@ private void addIndividualAcknowledgeMessageRequest(TxnID txnID, public void internalIndividualAcknowledgeMessage(TxnID txnID, List> positions, CompletableFuture completableFuture) { if (txnID == null) { - completableFuture.completeExceptionally(new NotAllowedException("Positions can not be null.")); + completableFuture.completeExceptionally(new NotAllowedException("txnID can not be null.")); return; }