cp-ansible icon indicating copy to clipboard operation
cp-ansible copied to clipboard

add combined kraft mode

Open piif opened this issue 1 year ago • 6 comments

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)
  • [X] 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:

  • [X] 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
  • [X] I have commented my code, particularly in hard-to-understand areas
  • [X] I have made corresponding changes to the documentation
  • [X] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

piif avatar Nov 03 '23 22:11 piif

CLA assistant check
All committers have signed the CLA.

cla-assistant[bot] avatar Nov 03 '23 22:11 cla-assistant[bot]

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.

:white_check_mark: piif
:x: 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.

cla-assistant[bot] avatar Nov 03 '23 22:11 cla-assistant[bot]

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

piif avatar Nov 04 '23 15:11 piif

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

mansisinha avatar Nov 08 '23 06:11 mansisinha

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"

piif avatar Nov 08 '23 13:11 piif

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.

mansisinha avatar Dec 04 '23 09:12 mansisinha