[
https://issues.apache.org/jira/browse/KAFKA-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281436#comment-14281436
]
Jun Rao commented on KAFKA-1870:
--------------------------------
Yes, the scala one still defaults to version 1. This is a bit harder to fix
since both OffsetCommitRequest and OffsetFetchRequest are used internally and
we always want the default to be the latest version. Technically, only the
javaapi is our public api. If you are using the scala api, the workaround is to
explicitly specify version 0 when constructing OffsetCommitRequest and
OffsetFetchRequest.
0.8.2 is being voted now and hopefully we can release it by end of next week.
> Cannot commit with simpleConsumer on Zookeeper only with Java API
> -----------------------------------------------------------------
>
> Key: KAFKA-1870
> URL: https://issues.apache.org/jira/browse/KAFKA-1870
> Project: Kafka
> Issue Type: Bug
> Components: consumer
> Affects Versions: 0.8.2
> Reporter: Thomas Vandevelde
> Assignee: Jun Rao
> Priority: Blocker
> Fix For: 0.8.2
>
> Attachments: OffsetCommitRequest.diff, kafka-1870.patch,
> kafka-1870_2015-01-16_12:08:05.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> From Kafka 0.8.2, we need to pass version 0 in the OffsetCommitRequest if we
> want to commit only on zookeeper.
> However the Java API doesnt allow to pass the version in parameter.
> Can you please add the version in the constructor of
> kafka.javaapi.OffsetCommitRequest ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)