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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        9h 45m 1 Jun Rao 03/May/13 03:57
        In Progress In Progress Resolved Resolved
        37s 1 Jun Rao 03/May/13 03:58
        Tony Stevenson made changes -
        Workflow Apache Kafka Workflow [ 13053020 ] no-reopen-closed, patch-avail [ 13055576 ]
        Tony Stevenson made changes -
        Workflow no-reopen-closed, patch-avail [ 12780302 ] Apache Kafka Workflow [ 13053020 ]
        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