Hello everyone,

I would like to start a discussion on [DISCUSS] KIP-1311: Make Time/Timer
public API.

Following KIP-1247 (Make Bytes part of public API), the Time interface and
Timer class are the next candidates from "org.apache.kafka.common.utils" to
be made officially public. Time is currently exposed through public APIs
(e.g., in clients, KafkaStreams constructors, etc) but not officially
designated as a public API.

An earlier version of this KIP explored splitting Time into focused
interfaces (Clock, MonotonicClock, etc.), but this would require rewriting
thousands of method signatures across the Kafka codebase. The simpler
approach of making Time public as-is seems more appropriate to avoid
breaking changes.

Looking forward to your feedback.

Thank you,
Siddhartha

Reply via email to