You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* moved the existing note in section 3 to the beginning and added new section for Listing consumer groups using the CLI.
* updated the Listing consumer groups with subsections to improve the structure
* removed duplication
* replaced alternatively with in addition
Copy file name to clipboardExpand all lines: docs/kafka/consumer-configuration-kafka/README.adoc
+29-6
Original file line number
Diff line number
Diff line change
@@ -68,22 +68,45 @@ Consumers within a group don’t read data from the same partition, but can read
68
68
As a developer of applications and services, you can view all the consumer groups that have access to a particular Kafka instance in {product-kafka}.
69
69
If required, use the {product-kafka} web console to reset the offsets of consumer groups or delete consumer groups.
70
70
71
-
As an alternative to using the {product-kafka} web console, you can use the `rhoas` command-line interface (CLI) or the Kafka `kafka-consumer-groups.sh` script to review and update consumer groups.
71
+
//Additional line break to resolve mod docs generation error
72
+
[id="con-consumer-group-list_{context}"]
73
+
== Listing consumer groups
74
+
75
+
[role="_abstract"]
76
+
In addition to the {product-kafka} web console, you can use the `rhoas` command-line interface (CLI) or the Kafka `kafka-consumer-groups.sh` script to list consumer groups for your Kafka instance. The following subsections describe how to use these methods to list consumer groups.
72
77
73
78
ifndef::community[]
74
79
NOTE: The Kafka scripts are part of the open source community version of Apache Kafka. The scripts are not a part of {product-kafka} and are therefore not supported by Red Hat.
75
80
endif::[]
76
81
77
-
//Additional line break to resolve mod docs generation error
If you're using the `kafka-consumer-groups.sh` script, or any other Kafka scripts,
84
-
you'll need to use the `--bootstrap-server` and `--command-config` flags to connect to your Kafka instance.
108
+
You can list consumer groups using the `kafka-consumer-groups.sh` script. To use this or any other Kafka scripts, you need to specify the `--bootstrap-server` and `--command-config` flags to connect to your Kafka instance. To list consumer groups, enter the following command:
0 commit comments