[ https://issues.apache.org/jira/browse/KAFKA-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15699956#comment-15699956 ]
ASF GitHub Bot commented on KAFKA-4403: --------------------------------------- GitHub user baluchicken opened a pull request: https://github.com/apache/kafka/pull/2176 KAFKA-4403 Update KafkaBasedLog to use new endOffsets consumer API @ewencp plz review You can merge this pull request into a Git repository by running: $ git pull https://github.com/baluchicken/kafka-1 KAFKA-4403 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2176.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2176 ---- commit 58b215c4149bf16e597409962ead471bb5dc4d0b Author: Balint Molnar <balintmolna...@gmail.com> Date: 2016-11-27T16:34:39Z KAFKA-4403 Update KafkaBasedLog to use new endOffsets consumer API ---- > Update KafkaBasedLog to use new endOffsets consumer API > ------------------------------------------------------- > > Key: KAFKA-4403 > URL: https://issues.apache.org/jira/browse/KAFKA-4403 > Project: Kafka > Issue Type: Bug > Components: KafkaConnect > Affects Versions: 0.10.1.0 > Reporter: Ewen Cheslack-Postava > Assignee: Balint Molnar > Priority: Minor > Labels: newbie > > As of 0.10.1.0 and KIP-79 > (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65868090) > KafkaConsumer can now fetch offset information about topic partitions. > Previously KafkaBasedLog had to use a seekToEnd + position approach to > determine end offsets. With the new APIs we can simplify this code. > This isn't critical as the current code works fine, but would be a nice > cleanup and simplification. -- This message was sent by Atlassian JIRA (v6.3.4#6332)