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

chore(msk-alpha): update KafkaVersion #29440

Merged
merged 7 commits into from
Mar 13, 2024

Conversation

nmussy
Copy link
Contributor

@nmussy nmussy commented Mar 11, 2024

Issue # (if applicable)

Could not find any in the backlog

Reason for this change

Update the CDK listed Kafka versions to match the current availability, as well as add missing deprecated versions

Description of changes

  • Added latest version
    • 3.6.0 also supports tiered storage, see docs. I replaced the prefix check with a list of supported versions, as I'm not sure if say every reason after 3.6.0 will support it, and the .tiered prefix isn't consistently applied anymore
  • Added two unlisted, deprecated versions, as they are still returned by the SDK. The goal is to remove any differences between the SDK and the CDK to ease future automation

Description of how you validated changes

I compared the current CDK versions to live SDK data, using the kafka:ListKafkaVersions API results.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added p2 distinguished-contributor [Pilot] contributed 50+ PRs to the CDK labels Mar 11, 2024
@aws-cdk-automation aws-cdk-automation requested a review from a team March 11, 2024 14:48
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Mar 11, 2024
Copy link
Contributor

@msambol msambol left a comment

Choose a reason for hiding this comment

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

LGTM. From the docs:

The Amazon MSK cluster with tiered storage enabled must use version 3.6.0 or 2.8.2.tiered.

@aws-cdk-automation aws-cdk-automation added pr/needs-maintainer-review This PR needs a review from a Core Team Member and removed pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. labels Mar 11, 2024
Copy link
Contributor

@GavinZZ GavinZZ left a comment

Choose a reason for hiding this comment

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

Overall LGTM just one README update comment

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Mar 12, 2024
@mergify mergify bot dismissed GavinZZ’s stale review March 12, 2024 18:44

Pull request has been modified.

GavinZZ
GavinZZ previously approved these changes Mar 12, 2024
Copy link
Contributor

@GavinZZ GavinZZ 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 contributing!

Copy link
Contributor

mergify bot commented Mar 12, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot dismissed GavinZZ’s stale review March 13, 2024 17:22

Pull request has been modified.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 0b5c5fa
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@GavinZZ GavinZZ merged commit 4582ac5 into aws:main Mar 13, 2024
9 checks passed
Copy link
Contributor

mergify bot commented Mar 13, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

obraafo pushed a commit to obraafo/aws-cdk that referenced this pull request Apr 1, 2024
### Issue # (if applicable)

Could not find any in the backlog

### Reason for this change

Update the CDK listed Kafka versions to match the current availability,
as well as add missing deprecated versions

### Description of changes

* Added latest version
* `3.6.0` also supports tiered storage, see
[docs](https://docs.aws.amazon.com/msk/latest/developerguide/msk-tiered-storage.html#msk-tiered-storage-requirements).
I replaced the prefix check with a list of supported versions, as I'm
not sure if say every reason after 3.6.0 will support it, and the
`.tiered` prefix isn't consistently applied anymore
* Added two unlisted, deprecated versions, as they are still returned by
the SDK. The goal is to remove any differences between the SDK and the
CDK to ease future automation

### Description of how you validated changes

I compared the current CDK versions to live SDK data, using the
`kafka:ListKafkaVersions` API results.

### Checklist
- [x] My code adheres to the [CONTRIBUTING
GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and
[DESIGN
GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license*

---------

Co-authored-by: GZ <yuanhaoz@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distinguished-contributor [Pilot] contributed 50+ PRs to the CDK p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants