Class DescribeLogDirsResult

java.lang.Object
org.apache.kafka.clients.admin.DescribeLogDirsResult

@Evolving public class DescribeLogDirsResult extends Object
The result of the Admin.describeLogDirs(Collection) call. The API of this class is evolving, see Admin for details.
  • Method Details

    • values

      @Deprecated public Map<Integer,KafkaFuture<Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> values()
      Deprecated.
      Deprecated Since Kafka 2.7. Use descriptions().
      Return a map from brokerId to future which can be used to check the information of partitions on each individual broker.
    • descriptions

      public Map<Integer,KafkaFuture<Map<String,LogDirDescription>>> descriptions()
      Return a map from brokerId to future which can be used to check the information of partitions on each individual broker. The result of the future is a map from broker log directory path to a description of that log directory.
    • all

      @Deprecated public KafkaFuture<Map<Integer,Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> all()
      Deprecated.
      Deprecated Since Kafka 2.7. Use allDescriptions().
      Return a future which succeeds only if all the brokers have responded without error
    • allDescriptions

      public KafkaFuture<Map<Integer,Map<String,LogDirDescription>>> allDescriptions()
      Return a future which succeeds only if all the brokers have responded without error. The result of the future is a map from brokerId to a map from broker log directory path to a description of that log directory.