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
| Author | Steven Aerts |
| Status | Accepted |
| Kafka Version | 1.1 |
| JIRA | KAFKA-6018 |
| Wiki | View on Apache Wiki |
| Created | 2017-11-01 |
| Last Modified | 2018-01-30 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.