kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Fung (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-255) A tool to UPDATE Zookeeper partition-offset with input in JSONObject string
Date Tue, 24 Jan 2012 23:22:41 GMT
A tool to UPDATE Zookeeper partition-offset with input in JSONObject string
---------------------------------------------------------------------------

                 Key: KAFKA-255
                 URL: https://issues.apache.org/jira/browse/KAFKA-255
             Project: Kafka
          Issue Type: Task
            Reporter: John Fung
            Assignee: John Fung


A utility that updates the offset of broker partitions in ZK from an input file containing
JSONObject string

This utility expects 2 input files as arguments:
 -  1. consumer properties file
 -  2. a file containing partition offsets data in JSONObject string such as:
       {"/consumers/group1/offsets/test_1/0-0":"100","/consumers/group1/offsets/test_1/0-1":"200"}
       This output data file can be obtained by running kafka.tools.GetZkOffsetsAsJSON

** Please note, this utility requires an external dependency of "JSON in Java"  (http://www.json.org/java/index.html)

--
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

        

Mime
View raw message