diff --git a/src/Broker.php b/src/Broker.php index 71650da..891748d 100644 --- a/src/Broker.php +++ b/src/Broker.php @@ -124,7 +124,6 @@ public function updateMetadata(array $topics = [], ?ClientInterface $client = nu $topicsMeta[] = $topicItem; } else { switch ($topicItem->getErrorCode()) { - case ErrorCode::UNKNOWN_TOPIC_OR_PARTITION: case ErrorCode::LEADER_NOT_AVAILABLE: $retryTopics[] = $topicItem->getName(); break;