
Apache Kafka ConsumerGroupDelete
CertifiedDelete Kafka consumer groups
Apache Kafka ConsumerGroupDelete
Delete Kafka consumer groups
Permanently deletes consumer groups and their committed offsets using the Kafka AdminClient. This operation is destructive and cannot be undone.
Fails with GroupNotEmptyException if a group has active members — stop its consumers first.
type: io.kestra.plugin.kafka.ConsumerGroupDeleteExamples
Delete a decommissioned tenant's consumer groups
id: kafka_consumer_group_delete
namespace: company.team
tasks:
- id: delete_groups
type: io.kestra.plugin.kafka.ConsumerGroupDelete
properties:
bootstrap.servers: localhost:9092
groupIds:
- tenant-acme-orders-processor
Properties
groupIds *Requiredarray
Consumer group IDs to delete
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.
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
deletedGroups array
Consumer group IDs that were deleted