[ https://issues.apache.org/jira/browse/KAFKA-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662572#comment-14662572 ]
Jason Gustafson commented on KAFKA-2389: ---------------------------------------- [~gwenshap] This only reason we've resisted adding a Future is that the KafkaConsumer is not thread-safe, which means that the returned Future would have to be confined to the same thread as the consumer. This might be a surprising/confusing restriction for users. > CommitType seems not necessary in commit(). > ------------------------------------------- > > Key: KAFKA-2389 > URL: https://issues.apache.org/jira/browse/KAFKA-2389 > Project: Kafka > Issue Type: Sub-task > Reporter: Jiangjie Qin > Assignee: Jiangjie Qin > > The CommitType does not seem to be necessary in for commit(), it can be > inferred from whether user passed in a callback or not. -- This message was sent by Atlassian JIRA (v6.3.4#6332)