conduktor.io ↗

KIP-616 — Rename implicit Serdes instances in kafka-streams-scala

Accepted Kafka 2.7 Streams

Renames the implicit `Serde` instances in the Kafka Streams Scala DSL from names matching the type (e.g., `implicit val String: Serde[String]`) to `implicit val stringSerde: Serde[String]` to avoid name clashes on wildcard imports. When the implicit val name matches a type name, a wildcard import shadows the type itself, making it impossible to use the type name in scope alongside the implicit.

Details

AuthorYuriy Badalyants
StatusAccepted
Kafka Version2.7
JIRAKAFKA-10020
WikiView on Apache Wiki
Created2020-05-19
Last Modified2021-01-20
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.