kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Izhikov <nizhi...@apache.org>
Subject [DISCUSS] KIP-358: Migrate Streams API to Duration instead of long ms times
Date Thu, 16 Aug 2018 14:55:15 GMT
Hello, Kafka developers.

I would like to start a discussion of KIP-358 [1].
It based on a ticket KAFKA-7277 [2].

I crawled through Stream API and made my suggestions for API changes.

I have several questions about changes.
Please, share your comments:

1. I propose do not remove existing API methods with long ms parameters. Is it correct?

2. Should we mark existing methods as deprecated?

3. Suggested changes in ticket description are `long durationMs` to `Duration duration` and
I suggest to change 'long startTimeMs` to `LocalDateTime startTime` also.
Should we do it?

Please, note, it very first KIP for me, so tell me if I miss something obvious for experienced
Kafka developers.

[1] https://cwiki.apache.org/confluence/display/KAFKA/KIP-358%3A+Migrate+Streams+API+to+Duration+instead+of+long+ms+times
[2] https://issues.apache.org/jira/browse/KAFKA-7277
View raw message