Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

kafka-console-producer command receives the following parameters:

Pragya Keshap answered on February 11, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • kafka console consumer read topic

  • kafka-console-producer command receives the following parameters:

    0

    --broker-list: This specifies the Zookeeper servers specified as a comma-separated list in the form, hostname:port.

    --topic: This parameter is followed by the name of the target topic.

    --sync: This specifies whether the messages should be sent synchronously.

    --compression-codec: This specifies the compression codec used to produce the messages. The possible options are: none, gzip, snappy, or lz4. If not specified, the default is gzip.

    --batch-size: If the messages are not sent synchronously, but the message size is sent in a single batch, this value is specified in bytes.

    --message-send-max-retries: As the brokers can fail receiving messages, this parameter specifies the number of retries before a producer gives up and drops the message. This number must be a positive integer.

    --retry-backoff-ms: In case of failure, the node leader election might take some time. This parameter is the time to wait before producer retries after this election. The number is the time in milliseconds.

    --timeout: If the producer is running in asynchronous mode and this parameter is set, it indicates the maximum amount of time a message will queue awaiting for the sufficient batch size. This value is expressed in milliseconds.

    --queue-size: If the producer is running in asynchronous mode and this parameter is set, it gives the maximum amount of messages will queue awaiting the sufficient batch size.

    https://hevodata.com/learn/kafka-console-producer/

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 11 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.