38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
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
|