You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Arthur (JIRA)" <ji...@apache.org> on 2013/04/05 16:30:13 UTC

[jira] [Created] (KAFKA-853) Allow OffsetFetchRequest to initialize offsets

David Arthur created KAFKA-853:
----------------------------------

             Summary: Allow OffsetFetchRequest to initialize offsets
                 Key: KAFKA-853
                 URL: https://issues.apache.org/jira/browse/KAFKA-853
             Project: Kafka
          Issue Type: Improvement
          Components: core
    Affects Versions: 0.8.1
            Reporter: David Arthur
             Fix For: 0.8.1


It would be nice for the OffsetFetchRequest API to have the option to initialize offsets instead of returning unknown_topic_or_partition. It could mimic the Offsets API by adding the "time" field and then follow the same code path on the server as the Offset API. 

In this case, the response would need to a boolean to indicate if the returned offset was initialized or fetched from ZK.

This would simplify the client logic when dealing with new topics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira