[ 
https://issues.apache.org/jira/browse/KAFKA-5275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016513#comment-16016513
 ] 

Randall Hauch commented on KAFKA-5275:
--------------------------------------

Also, a common use case for creating topics is going to be "create new topic(s) 
if they don't already exist". The current AdminClient can do this, but it 
requires a fair amount of error handling, especially when trying to create 
multiple topics at once. Would be great if this was easier, even if it's just 
an additional method on {{CreateTopicResults}} that perhaps gets the names of 
the topics that were created as part of the request. Again, see Kafka Connect's 
{{TopicAdmin}} code for an example that does this.

> Review and potentially tweak AdminClient API for the initial release (KIP-117)
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-5275
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5275
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Ismael Juma
>            Assignee: Ismael Juma
>             Fix For: 0.11.0.0
>
>
> Once all the pieces are in, we should take a pass and ensure that the APIs 
> work well together and that they are consistent.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to