Skip to content

Commit

Permalink
Changed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jolshan committed Jun 30, 2021
1 parent 39f0cba commit efd90cc
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -80,7 +80,6 @@
import org.apache.kafka.common.errors.TimeoutException;
import org.apache.kafka.common.errors.UnacceptableCredentialException;
import org.apache.kafka.common.errors.UnknownServerException;
import org.apache.kafka.common.errors.UnknownTopicIdException;
import org.apache.kafka.common.errors.UnknownTopicOrPartitionException;
import org.apache.kafka.common.errors.UnsupportedSaslMechanismException;
import org.apache.kafka.common.errors.UnsupportedVersionException;
Expand Down Expand Up @@ -1734,7 +1733,7 @@ private Map<Uuid, KafkaFuture<Void>> handleDeleteTopicsUsingIds(final Collection
for (Uuid topicId : topicIds) {
if (topicId.equals(Uuid.ZERO_UUID)) {
KafkaFutureImpl<Void> future = new KafkaFutureImpl<>();
future.completeExceptionally(new IllegalArgumentException("The given topic ID '" +
future.completeExceptionally(new InvalidTopicException("The given topic ID '" +
topicId + "' cannot be represented in a request."));
topicFutures.put(topicId, future);
} else if (!topicFutures.containsKey(topicId)) {
Expand Down

0 comments on commit efd90cc

Please sign in to comment.