-
Notifications
You must be signed in to change notification settings - Fork 520
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
Help needed on migrating from kafka with zookeeper to Kraft #1212
Comments
Hello @fayak 👋,
Instead you dont have reach the step 6 according to the migration doc you have to keep Why you set |
Hi !
Ok, I think this used to be the default value before, so I add it explicitly now, but therefore get the templating error I've mentioned. Apparently I need to also add
Does it make sense ? Tbh I'm not familiar at all with zookeeper and kafka, and my developers will be (rightfully) annoyed if I drop the data by mistake 😅 I'm using zookeeper right now on my sentry deployment, it's not a fresh install Merci pour l'aide ! |
The fact that it migrates pods from I tried and got the brokers to output
But the controller refuses to output
I have logs like
|
Maybe, you have 3 zookeeper and 1 controller ? 😄 You do not have more logs from the controllers ? 🤔 Your disks is out of place ? |
I had the same questions like above, but additionally I don't understand if I have to do these steps BEFORE upgrading to 22.0.0 Chart, so still on 21.6.3 ? Because when I try it in combination with upgrading to 22.0.0 I get the error
But there is no secret named sentry-kafka-user-passwords ... |
I think this issue was fixed in 22.2.0 In short, your listeners should look like this now:
|
Btw, what do we need the data in kafka for? |
I would recommend to start from scratch. It has worked well in my case. |
How exactly did you Start from scratch? Did you just removed the Kafka config from your old values.yaml and took the default one? |
I change the values.yaml to something like that:
Deploy the chart, delete the PVCs & revert my changes |
From what I understand, Deleting the PVC's and starting For me personally, it doesn't sound like anything important would be on there. So then I can do as @Mokto says, disable local Am I correct in my assumptions? |
Re, In the end as the steps were not working as described, I removed everything and re-deployed a new Kafka from scratch with Raft enabled. I may have lost some events while doing so, but that's ok, and things worked out in the end. So maybe this can be a valid solution, to remove everything kafka related, deploy the new version with Raft, without the migration mode enabled, and let it re-provision things and start again from there |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Hi everyone, I am facing a similar problem when trying to migrate from Zookeeper to Kraft. I have:
Unfortunately, the
You see that Could you please re-open this issue and help me out? Best wishes, |
Hello !
I'm looking to upgrade my deployment from 21.x to 22.x. I'm trying to follow the instructions from the README, but I have a hard time figuring a few things out.
On the step 3 :
What should be the value of
kafka.zookeeper.enabled
there ? If i understand correctly, we want to keep zookeeper at first to migrate things from it to kafka conroller, and once it's done, only then remove zookeeper.If I set
kafka.zookeeper.enabled: true
, I have an error thrownSetting it to false (or not setting it) looks like it's working, but I don't see a sts for zookeeper anymore. Is it expected ? I won't loose any data proceeding ?
@TartanLeGrand I think you wrote the migration guide, could you advise please ? :)
The text was updated successfully, but these errors were encountered: