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