conduktor.io ↗

KIP-45 — Standardize all client sequence interaction on j.u.Collection.

Discussion Consumer

KIP-45 standardizes all `KafkaConsumer` API methods that accept or return collections to use `java.util.Collection` instead of `java.util.List` for inputs and vararg arrays for multi-partition methods (`pause`, `resume`, `seekToBeginning`, `seekToEnd`). The inconsistency—`subscribe()` takes a List but `subscription()` returns a Set, while pause/resume use varargs—creates friction and forces unnecessary copies when chaining API calls.

Details

AuthorPierre-Yves Ritschard
StatusDiscussion
JIRAKAFKA-3006
WikiView on Apache Wiki
Created2016-01-26
Last Modified2016-01-26
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.