[ https://issues.apache.org/jira/browse/KAFKA-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709867#comment-14709867 ]
Jay Kreps commented on KAFKA-2390: ---------------------------------- I think there could be multiple out of range partitions so it would have to be something like class OffsetOutOfRangeException(val partitionOffsets: List[PartitionOffset]) (in scala syntax). I think it could be nice to include the log start and end if we already have that on hand but if not I don't think we should do extra requests to get it. > Seek() should take a callback. > ------------------------------ > > Key: KAFKA-2390 > URL: https://issues.apache.org/jira/browse/KAFKA-2390 > Project: Kafka > Issue Type: Sub-task > Reporter: Jiangjie Qin > Assignee: Dong Lin > > Currently seek is an async call. To have the same interface as other calls > like commit(), seek() should take a callback. This callback will be invoked > if the position to seek triggers OFFSET_OUT_OF_RANGE exception from broker. -- This message was sent by Atlassian JIRA (v6.3.4#6332)