You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by stepio <gi...@git.apache.org> on 2016/04/09 09:10:58 UTC

[GitHub] kafka pull request: MINOR: fix incorrect exception message

GitHub user stepio opened a pull request:

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

    MINOR: fix incorrect exception message

    While playing with client got the next exception:
    ```java
    java.lang.IllegalArgumentException: Invalid partition given with record: 1 is not in the range [0...1].
    ```
    It's obviously incorrect, so I've fixed it.

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

    $ git pull https://github.com/stepio/kafka trunk

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

    https://github.com/apache/kafka/pull/1210.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 #1210
    
----
commit c9f5f91be4389c58cbafb0d1403e901afcc57dd7
Author: Igor Stepanov <ig...@keystonett.com>
Date:   2016-04-09T06:33:54Z

    MINOR: fix validation for the manually provided partition number, incorrect exception message

commit c935890274246bf90848e0a8eba7dc4ae1a81035
Author: Igor Stepanov <ig...@keystonett.com>
Date:   2016-04-09T07:05:30Z

    MINOR: slight improvement for the exception message generating

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka pull request: MINOR: fix incorrect exception message

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---