
Apache Kafka DescribeLogDirs
CertifiedDescribe Kafka broker log directories
Apache Kafka DescribeLogDirs
Describe Kafka broker log directories
Reports per-partition on-disk size and replica lag per broker log directory using the Kafka AdminClient, useful for metering per-tenant topic storage usage.
type: io.kestra.plugin.kafka.DescribeLogDirsExamples
Meter storage usage across the cluster
id: kafka_describe_log_dirs
namespace: company.team
tasks:
- id: describe_log_dirs
type: io.kestra.plugin.kafka.DescribeLogDirs
properties:
bootstrap.servers: localhost:9092
Properties
properties *Requiredobject
Kafka AdminClient properties
Must include bootstrap.servers; accepts any Kafka AdminClient config. Provide base64-encoded content for ssl.keystore.location and ssl.truststore.location when using SSL.
brokerIds array
[]Broker IDs to describe
Describes every broker in the cluster when unset.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
timeout string
PT30SAdminClient call timeout
Maximum duration to wait for each AdminClient operation to complete before failing the task. Defaults to PT30S (30 seconds).
Outputs
logDirs array
Per broker log directories
Each entry contains brokerId, path and partitions (topic, partition, size in bytes, offsetLag).
topicSizes object
Total on-disk size per topic, in bytes
Summed across all partitions and brokers.