Skip to content

KAFKA-8985; Add flexible version support to inter-broker APIs#7453

Merged
hachikuji merged 1 commit intoapache:trunkfrom
hachikuji:KAFKA-8985-flexible-versions-for-inter-broker-apis
Oct 7, 2019
Merged

KAFKA-8985; Add flexible version support to inter-broker APIs#7453
hachikuji merged 1 commit intoapache:trunkfrom
hachikuji:KAFKA-8985-flexible-versions-for-inter-broker-apis

Conversation

@hachikuji
Copy link
Copy Markdown
Contributor

This patch adds flexible version support for the following inter-broker APIs: ControlledShutdown, LeaderAndIsr, UpdateMetadata, and StopReplica.

Committer Checklist (excluded from commit message)

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

Copy link
Copy Markdown
Member

@ijuma ijuma 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 PR, LGTM.

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Oct 7, 2019

3 flaky failures in one build and the other 2 failed with what looks like an unrelated exception during Streams tests.

org.apache.kafka.connect.integration.ConnectWorkerIntegrationTest.testAddAndRemoveWorker
kafka.api.SaslGssapiSslEndToEndAuthorizationTest.testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl
kafka.api.SslAdminClientIntegrationTest.testCreateTopicsResponseMetadataAndConfig

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Oct 7, 2019

retest this please

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Oct 7, 2019

A minor note, can we please mention in the PR description that we removed the version checking because the generated Data classes do that already?

@hachikuji hachikuji merged commit c06e45a into apache:trunk Oct 7, 2019
hachikuji added a commit that referenced this pull request Oct 7, 2019
This patch adds flexible version support for the following inter-broker APIs: ControlledShutdown, LeaderAndIsr, UpdateMetadata, and StopReplica. Version checks have been removed from `getErrorResponse` methods since they were redundant given the checks in `AbstractRequest` and the respective`*Data` types.

Reviewers: Ismael Juma <ismael@juma.me.uk>
ijuma added a commit to ijuma/kafka that referenced this pull request Apr 28, 2020
…t-for-generated-requests

* apache-github/trunk:
  KAFKA-8932; Add tag for CreateTopicsResponse.TopicConfigErrorCode (KIP-525) (apache#7464)
  KAFKA-8944: Fixed KTable compiler warning. (apache#7393)
  KAFKA-8964: Rename tag client-id for thread-level metrics and below (apache#7429)
  MINOR: remove unused imports in Streams system tests (apache#7468)
  KAFKA-7190; Retain producer state until transactionalIdExpiration time passes (apache#7388)
  KAFKA-8983; AdminClient deleteRecords should not fail all partitions unnecessarily (apache#7449)
  MINOR: Modified Exception handling for KIP-470 (apache#7461)
  KAFKA-7245: Deprecate WindowStore#put(key, value) (apache#7105)
  KAFKA-8179: Part 7, cooperative rebalancing in Streams (apache#7386)
  KAFKA-8985; Add flexible version support to inter-broker APIs (apache#7453)
  MINOR: Bump version to 2.5.0-SNAPSHOT (apache#7455)
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.

2 participants