Apache Kafka ConsumerGroupDelete

Apache Kafka ConsumerGroupDelete

Certified

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.

yaml
type: io.kestra.plugin.kafka.ConsumerGroupDelete

Delete a decommissioned tenant's consumer groups

yaml
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
SubTypestring

Consumer group IDs to delete

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.

Reference (ref) of the pluginDefaults to apply to this task.

DefaultPT30S

AdminClient call timeout

Maximum duration to wait for each AdminClient operation to complete before failing the task. Defaults to PT30S (30 seconds).

SubTypestring

Consumer group IDs that were deleted