Skip to content

MINOR: Adjust parameter ordering of waitForCondition and retryOnExceptionWithTimeout#10759

Merged
ijuma merged 1 commit intoapache:trunkfrom
ijuma:wait-for-condition-parameter-ordering
May 27, 2021
Merged

MINOR: Adjust parameter ordering of waitForCondition and retryOnExceptionWithTimeout#10759
ijuma merged 1 commit intoapache:trunkfrom
ijuma:wait-for-condition-parameter-ordering

Conversation

@ijuma
Copy link
Member

@ijuma ijuma commented May 25, 2021

New parameters in overloaded methods should appear later apart from
lambdas that should always be last.

Committer Checklist (excluded from commit message)

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

…ceptionWithTimeout`

New parameters in overloaded methods should appear later apart from
lambdas that should always be last.
@ijuma ijuma requested review from chia7712 and omkreddy May 25, 2021 13:18
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

+1 if those methods exist only in trunk branch. Otherwise, reordering arguments could make trouble when we backport patch to other branches.

Copy link
Member

@showuon showuon left a comment

Choose a reason for hiding this comment

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

LGTM! Failed tests are flaky. Thanks.

    Build / JDK 15 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopics()
    Build / JDK 8 and Scala 2.12 / kafka.admin.DeleteOffsetsConsumerGroupCommandIntegrationTest.testDeleteOffsetsNonExistingGroup()
    Build / JDK 8 and Scala 2.12 / kafka.integration.MetricsDuringTopicCreationDeletionTest.testMetricsDuringTopicCreateDelete()
    Build / JDK 8 and Scala 2.12 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopicsWithManyPartitions()

@ijuma ijuma merged commit e4b3a3c into apache:trunk May 27, 2021
@ijuma ijuma deleted the wait-for-condition-parameter-ordering branch May 27, 2021 13:25
ijuma added a commit to ijuma/kafka that referenced this pull request May 27, 2021
…ceptionWithTimeout` (apache#10759)

New parameters in overloaded methods should appear later apart from
lambdas that should always be last.
ijuma added a commit to ijuma/kafka that referenced this pull request May 27, 2021
…nups

* apache-github/trunk:
MINOR: Adjust parameter ordering of `waitForCondition` and
`retryOnExceptionWithTimeout` (apache#10759)
KAFKA-12796: Removal of deprecated classes under streams-scala
(apache#10710)
KAFKA-12819: Add assert messages to MirrorMaker tests plus other
quality of life improvements (apache#10762)
  Update implementation.html (apache#10771)
  MINOR: Log constructor: Flip logical NOT for readability (apache#10756)
MINOR: deprecate TaskMetadata constructor and add KIP-740 notes to
upgrade guide (apache#10755)
  MINOR: Log more information when producer snapshot is written (apache#10757)
  KAFKA-12260: Avoid hitting NPE for partitionsFor (apache#10017)
MINOR: add window verification to sliding-window co-group test
(apache#10745)
KAFKA-12800: Configure generator to fail on trailing JSON tokens
(apache#10717)
ijuma added a commit that referenced this pull request May 27, 2021
…ceptionWithTimeout` (#10759) (#10776)

New parameters in overloaded methods should appear later apart from
lambdas that should always be last.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants