GitHub user vahidhashemian opened a pull request:

    https://github.com/apache/kafka/pull/1618

    KAFKA-3945: Fix validation of 'acks' config in console producer

    The `acks` config that is provided to console producer with 
`request-required-acks` comes with `all`, `-1`, `0`, `1` as valid options 
(`all` and `-1` being interchangeable).
    This PR input validation so that `all` is also accepted as an input value.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vahidhashemian/kafka KAFKA-3945

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/1618.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1618
    
----
commit fba6a2b1e272a43196b7d7125e202b9da3f29949
Author: Vahid Hashemian <vahidhashem...@us.ibm.com>
Date:   2016-07-12T23:03:04Z

    KAFKA-3945: Fix validation of 'acks' config in console producer
    
    The 'acks' config that is provided to console producer with 
'request-required-acks' comes with 'all', -1, 0, 1 as valid options (with 'all' 
and -1 being interchangeable).
    This PR input validation so that 'all' is also accepted as an input value.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to