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

add combined kraft mode #1511

Open
wants to merge 1 commit into
base: 7.5.1-post
Choose a base branch
from
Open

Conversation

piif
Copy link
Contributor

@piif piif commented Nov 3, 2023

Description

introduce a variable kraft_combined to allow combined nodes broker+controller

Fixes #1510

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

tests in progress

Checklist:

  • Any variable/code changes have been validated to be backwards compatible (doesn't break upgrade)
  • I have added tests that prove my fix is effective or that my feature works
  • If required, I have ensured the changes can be discovered by cp-ansible discovery codebase
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@piif piif requested a review from a team as a code owner November 3, 2023 22:23
Copy link

cla-assistant bot commented Nov 3, 2023

CLA assistant check
All committers have signed the CLA.

Copy link

cla-assistant bot commented Nov 3, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ piif
❌ Christian Lefebvre


Christian Lefebvre seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@piif
Copy link
Contributor Author

piif commented Nov 4, 2023

pull request modified after testing on combined and separate nodes, with scram users

@piif piif force-pushed the fix/issue-1510 branch 2 times, most recently from 5bc46e0 to bc13d64 Compare November 4, 2023 19:04
@mansisinha
Copy link
Member

thanks @piif for your contribution. However, since combined mode is not recommended for production, we do not have any plans to introduce it in cp-ansible. We will work on the scram authentication implementation in isolated mode. cc: @prabhamanepalli

@piif
Copy link
Contributor Author

piif commented Nov 8, 2023

hi @mansisinha ,
sorry, but I disagree with this argument.
As a maintainer of a kafka cluster, I need to deploy development, preproduction and production clusters from the same playbook, with just different inventories.
Thus, I would like to activate combined mode in dev environment and disable it for production, from an inventory variable, with a default value to "disabled"

@mansisinha
Copy link
Member

Hi @piif , we discussed your ask with the team. We can not directly merge the PR at the moment since this requires multiple layers of testing to make sure it does not break any current functionality. We will take this up for future release.

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.

handle combined nodes
2 participants