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
Copy file name to clipboardExpand all lines: snippets/general-shared-text/kafka-cli-api.mdx
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,5 +22,8 @@ If you use Kafka API keys and secrets for authentication:
22
22
Additional settings include:
23
23
24
24
-`--confluent` (CLI) or `confluent` (Python): True to indicate that the cluster is running Confluent Kafka.
25
-
-`--num-messages-to-consume` (CLI) or `num_messages_to_consume` (Python): The maximum number of messages to get from the topic. The default is `1`.
26
-
-`--timeout` (CLI) or `timeout` (Python): The maximum amount of time to wait for the response of a request to the topic, expressed in seconds. The default is `1.0`.
25
+
-`--num-messages-to-consume` (CLI) or `num_messages_to_consume` (Python): The maximum number of messages to get from the topic. The default is `1` if not otherwise specified.
26
+
-`--timeout` (CLI) or `timeout` (Python): The maximum amount of time to wait for the response of a request to the topic, expressed in seconds. The default is `1.0` if not otherwise specified.
27
+
-`--group-id` (CLI) or `group_id` (Python): The ID of the consumer group, if any, that is associated with the target Kafka cluser.
28
+
(A consumer group is a way to allow a pool of consumers to divide the consumption of data
29
+
over topics and partitions.) The default is `default_group_id` if not otherwise specified.
0 commit comments