Skip to content

MINOR: Update docs with out-dated context.schedule(...) examples#5924

Merged
mjsax merged 1 commit intoapache:trunkfrom
cadonna:ms_as_duration
Nov 21, 2018
Merged

MINOR: Update docs with out-dated context.schedule(...) examples#5924
mjsax merged 1 commit intoapache:trunkfrom
cadonna:ms_as_duration

Conversation

@cadonna
Copy link
Copy Markdown
Member

@cadonna cadonna commented Nov 17, 2018

This commit updates the first parameter of example calls to
context.schedule(...) in documentations from time durations in
milliseconds of type long to time durations expressed as class
java.time.Duration.

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

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

This commit updates the first parameter of example calls to
context.schedule(...) in documentations from time durations in
milliseconds of type long to time durations expressed as class
java.time.Duration.
Copy link
Copy Markdown
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

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

LGTM.

Call for second review. Anyof @guozhangwang @bbejeck @vvcephei

We should cherry-pick this into 2.1, too.

Copy link
Copy Markdown
Member

@bbejeck bbejeck left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @cadonna, LGTM

@mjsax mjsax merged commit 808dc0a into apache:trunk Nov 21, 2018
mjsax pushed a commit that referenced this pull request Nov 21, 2018
Reviewers: Matthias J. Sax <matthias@confluent.io>, Bill Bejeck <bill@confluent.io>
@mjsax
Copy link
Copy Markdown
Member

mjsax commented Nov 21, 2018

Merged to trunk and cherry-picked to 2.1 branch. Thanks for the PR @cadonna!

pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
…che#5924)

Reviewers: Matthias J. Sax <matthias@confluent.io>, Bill Bejeck <bill@confluent.io>
@cadonna cadonna deleted the ms_as_duration branch October 21, 2019 10:53
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