| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/managed_kafka/consumer_groups/ |
Upload File : |
release_tracks: [GA, ALPHA, BETA]
help_text:
brief: |
Update a Managed Service for Apache Kafka consumer group.
description: |
Update a Managed Service for Apache Kafka consumer group.
examples: |
To specify a file for updating the topics of a consumer group,
run the following:
${command} myconsumergroup |
--cluster=mycluster \
--location=us-central1 \
--topics-file=topics.json
To update the topics of a consumer group with inline JSON,
run the following:
${command} myconsumergroup |
--cluster=mycluster \
--location=us-central1 \
--topics-file='{"topic":{"partitions":{"0":{"offset":1,"metadata":"metadata"}}}}'
request:
collection: managedkafka.projects.locations.clusters.consumerGroups
modify_request_hooks:
- googlecloudsdk.command_lib.managed_kafka.util:UpdateTopics
arguments:
resource:
help_text: Identifies the consumer group to be updated.
spec: !REF googlecloudsdk.command_lib.managed_kafka.resources:consumer_group
params:
- _REF_: googlecloudsdk.command_lib.managed_kafka.flags:topics-file
required: true