conduktor.io ↗

KIP-218 — Make KafkaFuture.Function java 8 lambda compatible

Accepted Kafka 1.1 AdminClient

Converts `KafkaFuture.Function` and `KafkaFuture.BiConsumer` from abstract classes to `@FunctionalInterface`-annotated interfaces. As abstract classes with a single abstract method, they cannot be used with Java 8 lambda expressions, forcing users to write verbose anonymous class syntax in `AdminClient` callback code.

Details

AuthorSteven Aerts
StatusAccepted
Kafka Version1.1
JIRAKAFKA-6018
WikiView on Apache Wiki
Created2017-11-01
Last Modified2018-01-30
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.