[
https://issues.apache.org/jira/browse/KAFKA-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neha Narkhede resolved KAFKA-1708.
----------------------------------
Resolution: Won't Fix
Same here. Please direct this to the mailing list where people can help out. If
we agree that there is a problem, then you can file a JIRA.
> Consumers intermittently stop consuming till restart
> ----------------------------------------------------
>
> Key: KAFKA-1708
> URL: https://issues.apache.org/jira/browse/KAFKA-1708
> Project: Kafka
> Issue Type: Bug
> Components: consumer
> Affects Versions: 0.8.0
> Environment: HP 40 x Intel(R) Xeon(R) CPU E5-2470 v2 @
> 2.40GHz/1.2e+02GB
> Reporter: Hari
> Assignee: Neha Narkhede
> Labels: patch
>
> Using a simple consumer, and reading messages using StreamIterator noticed
> that the consumptions suddenly stops and the lag starts building up till the
> consumer is restarted. Below is the code snippet
> final Map<String, List<KafkaStream<byte[], byte[]>>> streamsByName =
> consumerConnector.createMessageStreams(topicCountMap);
> ConsumerIterator<byte[], byte[]> streamIterator =
> streamsByName.get(topicName).get(IDX_FIRST_ITEM).iterator();
> if (streamIterator.hasNext()) {
> final MessageAndMetadata<byte[], byte[]> item =
> streamIterator.next();
> ...
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)