Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1314BDDF for ; Wed, 4 Jan 2012 03:07:46 +0000 (UTC) Received: (qmail 32218 invoked by uid 500); 4 Jan 2012 03:07:45 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 32129 invoked by uid 500); 4 Jan 2012 03:07:32 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 32120 invoked by uid 99); 4 Jan 2012 03:07:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 03:07:29 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 03:07:26 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3F1CB137AAF for ; Wed, 4 Jan 2012 03:06:41 +0000 (UTC) Date: Wed, 4 Jan 2012 03:06:41 +0000 (UTC) From: "Edward Capriolo (Commented) (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <471008442.3247.1325646401301.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <221361229.1204.1325614239563.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (KAFKA-232) ConsumerConnector has no access to "getOffsetsBefore" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KAFKA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179247#comment-13179247 ] Edward Capriolo commented on KAFKA-232: --------------------------------------- Sure. I am using Kafka to build aggregations of logs. These aggregations are going to be minutely. I want to record clientid and my log position externally. If my consumer goes down 30 seconds into the minute I want to replay the entire minute over. I might also want to bring this client up at position x on another node. > ConsumerConnector has no access to "getOffsetsBefore" > ------------------------------------------------------ > > Key: KAFKA-232 > URL: https://issues.apache.org/jira/browse/KAFKA-232 > Project: Kafka > Issue Type: New Feature > Reporter: Edward Capriolo > Priority: Minor > > kafka.javaapi.SimpleConsumer has "getOffsetsBefore". I would like this ability in KafkaMessageStream or in ConsumerConnector. In this way clients can access their current position. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira