Kafka
  1. Kafka
  2. KAFKA-895

Protocol documentation is not clear about requiredAcks = 0.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: producer
    • Labels:

      Description

      After reading the protocol guide (https://cwiki.apache.org/KAFKA/a-guide-to-the-kafka-protocol.html), I was under the impression that the Produce API was sending a response even when requiredAcks = 0 (immediately after receiving the request). However, after some tests, I realized that no response is sent in that case. The protocol documentation should specify clearly that behavior.

        Activity

        Jun Rao made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 0.8 [ 12317244 ]
        Resolution Fixed [ 1 ]
        Hide
        Jun Rao added a comment -

        Thanks for pointing this out. Updated the wiki.

        Show
        Jun Rao added a comment - Thanks for pointing this out. Updated the wiki.
        Jun Rao made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        François Paradis made changes -
        Field Original Value New Value
        Description After reading the protocol guide (https://cwiki.apache.org/KAFKA/a-guide-to-the-kafka-protocol.html), I was under that the Produce API was still sending a response when requiredAcks = 0 (immediately after receiving the request). However, after some tests, I realized that no response is sent in that case. The protocol documentation should specify clearly that behavior. After reading the protocol guide (https://cwiki.apache.org/KAFKA/a-guide-to-the-kafka-protocol.html), I was under the impression that the Produce API was sending a response even when requiredAcks = 0 (immediately after receiving the request). However, after some tests, I realized that no response is sent in that case. The protocol documentation should specify clearly that behavior.
        François Paradis created issue -

          People

          • Assignee:
            Jun Rao
            Reporter:
            François Paradis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development