[ https://issues.apache.org/jira/browse/KAFKA-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062224#comment-15062224 ]
ASF GitHub Bot commented on KAFKA-3006: --------------------------------------- GitHub user pyr opened a pull request: https://github.com/apache/kafka/pull/690 consumer: Collection alternatives to array calls. Fixes KAFKA-3006 This makes it much easier when using the library from some JVM languages. In clojure for instance you can go from ```clojure (.pause consumer (into-array TopicPartition partitions)) ``` to simply: ```clojure (.pause consumer partitions) ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/pyr/kafka feature/collections Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/690.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 #690 ---- commit 3948e87f82273b3c0694f6a911d327d67c5432b4 Author: Pierre-Yves Ritschard <p...@spootnik.org> Date: 2015-12-17T15:44:30Z consumer: Collection alternatives to array calls. Fixes KAFKA-3006 ---- > kafka client should offer Collection alternative to Array call signatures > ------------------------------------------------------------------------- > > Key: KAFKA-3006 > URL: https://issues.apache.org/jira/browse/KAFKA-3006 > Project: Kafka > Issue Type: Improvement > Components: clients > Affects Versions: 0.9.0.0 > Reporter: Pierre-Yves Ritschard > Labels: patch > > Some languages (in my case, clojure) make it a bit cumbersome to deal with > java arrays. > In the consumer, these four signatures only accepts arrays: > seekToBeginning, seekToEnd, pause, resume. -- This message was sent by Atlassian JIRA (v6.3.4#6332)