You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2023/12/19 03:13:00 UTC

[jira] [Commented] (KAFKA-15775) Implement listTopics() and partitionFor() for the AsyncKafkaConsumer

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

Kirk True commented on KAFKA-15775:
-----------------------------------

[~schofielaj]—please update the status of this Jira since this is merged. Thanks!

> Implement listTopics() and partitionFor() for the AsyncKafkaConsumer
> --------------------------------------------------------------------
>
>                 Key: KAFKA-15775
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15775
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, consumer
>            Reporter: Philip Nee
>            Assignee: Andrew Schofield
>            Priority: Major
>              Labels: consumer-threading-refactor, kip-848, kip-848-client-support, kip-848-e2e, kip-848-preview
>
> {code:java}
> @Override
> public List<PartitionInfo> partitionsFor(String topic) {
>     return partitionsFor(topic, Duration.ofMillis(defaultApiTimeoutMs));
> }
> @Override
> public List<PartitionInfo> partitionsFor(String topic, Duration timeout) {
>     throw new KafkaException("method not implemented");
> }
> @Override
> public Map<String, List<PartitionInfo>> listTopics() {
>     return listTopics(Duration.ofMillis(defaultApiTimeoutMs));
> }
> @Override
> public Map<String, List<PartitionInfo>> listTopics(Duration timeout) {
>     throw new KafkaException("method not implemented");
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)