You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2023/02/06 23:49:00 UTC
[jira] [Created] (KAFKA-14686) MockAdminClient.createTopics does not provide TopicMetadataAndConfig
Kirk True created KAFKA-14686:
---------------------------------
Summary: MockAdminClient.createTopics does not provide TopicMetadataAndConfig
Key: KAFKA-14686
URL: https://issues.apache.org/jira/browse/KAFKA-14686
Project: Kafka
Issue Type: Bug
Components: admin, clients, unit tests
Reporter: Kirk True
Assignee: Kirk True
[Line 386 of {{MockAdminClient}}|https://github.com/apache/kafka/blame/trunk/clients/src/test/java/org/apache/kafka/clients/admin/MockAdminClient.java#L386] does this:
{quote}{{future.complete(null);}}
{quote}
It seems like we should be creating a {{TopicMetadataAndConfig}} instance and passing that in instead so that its available to the unit test caller.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)