You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Mickael Maison (JIRA)" <ji...@apache.org> on 2016/07/29 10:14:20 UTC

[jira] [Assigned] (KAFKA-3946) Protocol guide should say that Produce request acks can only be 0, 1, or -1

     [ https://issues.apache.org/jira/browse/KAFKA-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mickael Maison reassigned KAFKA-3946:
-------------------------------------

    Assignee: Mickael Maison

> Protocol guide should say that Produce request acks can only be 0, 1, or -1
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-3946
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3946
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: James Cheng
>            Assignee: Mickael Maison
>            Priority: Minor
>
> The protocol guide at http://kafka.apache.org/protocol.html#protocol_messages says that for Produce requests, acks means:
> The number of nodes that should replicate the produce before returning. -1 indicates the full ISR.
> This seems to imply that you can specify values of 2,3,4, etc.
> It would be clearer if the description was more explicit. It should say that the only valid values are 0, 1, and -1, per the code at 
> https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/ReplicaManager.scala#L382-L384



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)