hi Siddhartha

Thanks for this KIP.

What is the exact benefit of exposing Time as a public API? Since this KIP
proposes deprecating KafkaStreams(Topology, Properties, Time), it seems
there are no public interfaces relying on it anymore.

Thus, it should be fine to just keep Time as an internal API, right?

Best,
Chia-Ping


Siddhartha Devineni <[email protected]> 於 2026年4月7日週二 下午2:19寫道:

> Apologies, as I forgot to add the link to the KIP:
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=406623925
>
>
> On Tue, Apr 7, 2026 at 9:13 AM Siddhartha Devineni <
> [email protected]> wrote:
>
> > 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