Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14048 The Next Generation of the Consumer Rebalance Protocol
  3. KAFKA-15775

Implement listTopics() and partitionFor() for the AsyncKafkaConsumer

    XMLWordPrintableJSON

Details

    Description

      @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");
      } 

      Attachments

        Issue Links

          Activity

            People

              schofielaj Andrew Schofield
              pnee Philip Nee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: