Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-12450: Remove deprecated methods from ReadOnlyWindowStore #10294

Merged
merged 4 commits into from
May 4, 2021

Conversation

jeqo
Copy link
Contributor

@jeqo jeqo commented Mar 10, 2021

Implement first part of https://cwiki.apache.org/confluence/display/KAFKA/KIP-667%3A+Remove+deprecated+methods+from+ReadOnlyWindowStore. Preparing it for v3.0

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@mjsax mjsax added the streams label Mar 10, 2021
@jeqo jeqo changed the title [KAFKA-12450] Remove deprecated methods from ReadOnlyWindowStore KAFKA-12450: Remove deprecated methods from ReadOnlyWindowStore Mar 12, 2021
@guozhangwang
Copy link
Contributor

@jeqo could you rebase the PR while I review it?

@jeqo
Copy link
Contributor Author

jeqo commented Apr 27, 2021

@guozhangwang, it should be ready for review now. thanks!

Copy link
Contributor

@guozhangwang guozhangwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one nit, otherwise LGTM.

Also could you rebase the PR? Thanks @jeqo !

public WindowStoreIterator<V> fetch(final K key,
final long timeFrom,
final long timeTo) {
final Instant timeFrom,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems we are removing the ApiUtils.validateMillisecondInstant check here, is that intentional?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, default implementation is doing this convertion already.

@jeqo jeqo requested a review from guozhangwang May 4, 2021 11:27
@guozhangwang guozhangwang merged commit 45f24c4 into apache:trunk May 4, 2021
@guozhangwang
Copy link
Contributor

Merged to trunk, thanks @jeqo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants