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

Allow configuring advertised.listeners for controllers with Kafka version 3.9.0 #10530

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

tinaselenge
Copy link
Contributor

@tinaselenge tinaselenge commented Sep 2, 2024

Type of change

Select the type of your PR

  • Enhancement / new feature

Description

When Kafka 3.9.0 is released and supported with Strimzi, the advertised.listeners will have to be configured for KRaft controllers, which is a forbidden configuration for the previous versions. While we still support an older version such as 3.8.0, we need to gate this configuration using the Kafka version.

Related issue: #10458.

Checklist

Please go through this checklist and make sure all applicable tasks have been done

  • Write tests
  • Make sure all tests pass
  • Update documentation
  • Check RBAC rights for Kubernetes / OpenShift roles
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging
  • Update CHANGELOG.md
  • Supply screenshots for visual changes, such as Grafana dashboards

@tinaselenge tinaselenge changed the title Allow configuring advertised.listeners for controllers with Kafka …sion 3.9 Allow configuring advertised.listeners for controllers with Kafka version 3.9 Sep 2, 2024
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

Thanks. Just some quick comments ...

…sion 3.9

Signed-off-by: Gantigmaa Selenge <tina.selenge@gmail.com>
@tinaselenge tinaselenge changed the title Allow configuring advertised.listeners for controllers with Kafka version 3.9 Allow configuring advertised.listeners for controllers with Kafka version 3.9.0 Sep 3, 2024
@scholzj scholzj added this to the 0.44.0 milestone Sep 3, 2024
@tinaselenge
Copy link
Contributor Author

@scholzj should this PR wait until Kafka 3.9 is released or can it be pushed before that? I think it doesn't have to wait.

@scholzj
Copy link
Member

scholzj commented Sep 3, 2024

@tinaselenge I think we can proceed with it. Let me run the regression. Can you mark it as ready for review if you don't plan any more changes?

@scholzj
Copy link
Member

scholzj commented Sep 3, 2024

/azp run kraft-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member

scholzj commented Sep 3, 2024

/azp run upgrade

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member

scholzj commented Sep 3, 2024

/azp run migration

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member

scholzj commented Sep 3, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tinaselenge tinaselenge marked this pull request as ready for review September 4, 2024 10:22
@tinaselenge
Copy link
Contributor Author

thanks @scholzj. I've marked it as ready and regression tests passed.

@scholzj scholzj requested a review from ppatierno September 4, 2024 11:06
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

One more nit. LGTM otherwise.

Signed-off-by: Gantigmaa Selenge <tina.selenge@gmail.com>
Copy link
Member

@scholzj scholzj 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

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @tinaselenge!

@scholzj scholzj merged commit 3476068 into strimzi:main Sep 9, 2024
13 checks passed
@tinaselenge tinaselenge deleted the gate-3.9 branch September 10, 2024 13:00
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