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; }