You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Derek Dagit (JIRA)" <ji...@apache.org> on 2015/09/25 21:43:04 UTC

[jira] [Resolved] (STORM-1068) Configure request.required.acks to be 1 in KafkaUtilsTest for sync

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

Derek Dagit resolved STORM-1068.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0

Thanks [~zhuoliu], I merged this to master.

> Configure request.required.acks to be 1 in KafkaUtilsTest for sync
> ------------------------------------------------------------------
>
>                 Key: STORM-1068
>                 URL: https://issues.apache.org/jira/browse/STORM-1068
>             Project: Apache Storm
>          Issue Type: Test
>          Components: storm-kafka
>            Reporter: Zhuo Liu
>            Assignee: Zhuo Liu
>            Priority: Minor
>             Fix For: 0.11.0
>
>
> In KafkaProducer, request.required.acks is by default 0. In KafkaUtilsTest, if we don't set it to be 1, the send(xx).get() may not actually synchronize as expected, which can potentially cause offset out-of-range error when the consumer tries to read something. BTW, in KafkaBoltTest, we already have this set appropriately.



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