Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.8.1
-
None
-
None
Description
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.