You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Zhuo Liu (JIRA)" <ji...@apache.org> on 2015/09/24 18:18:04 UTC
[jira] [Created] (STORM-1068) Configure request.required.acks to be
1 in KafkaUtilsTest for sync
Zhuo Liu created STORM-1068:
-------------------------------
Summary: 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
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)