-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ksql-migrations is not compatible with Cloud Platform Docker image 6.1.1 #7560
Comments
@AdilHoumadi Thank you for catching this, this is a bug! What happened was there was a slight update in one of the API endpoints the 0.15 release (#6545), which we overlooked. This version of the migrations tool is compatible with versions 0.15+, but we will be patching this bug in the 0.20 release. |
@jzaralim, Thanks for the feedback, looking forward to test it once released! |
Worth mentioning you effectively have two ksqldb-cli images of different versions in the compose file |
for the testing I took the official docker-compose from this repo: https://github.com/confluentinc/cp-all-in-one/ |
Sure, though, they should be interchangeable with |
This is fixed: #7667 |
We rolled out 1) Does this mean I have to wait for 2a) What is the main problem (other than ksql-migration not being on the cp-* images)? The 2b) Does that mean I can use Sorry, very confused with all the version renames between ksql and cp-ksql...it's not very friendly. 3) How do I find out which version of 3a) You say it will be fixed with 0.20, but With traditional database migrations, I would run the migrations at boot of my app server. That's not so good with scaling these days. 4) Is spinning up a cli container, running the migration, then shutting it down really the best way to do ksql migrations? (Is there a ksql-migration project? Probably better to ask there, if there is one.) |
Hi @dailytabs,
2a. The I hope that helps! |
@jzaralim Yes, that helped tremendously. We settled on upgrading to 6.2 and I was able to get it all running locally, today. Just need to finish debugging an issue with Thank you! |
Describe the bug
ksql-migrations is not compatible with Cloud Platform Docker image 6.1.1
To Reproduce
Steps to reproduce the behavior, include:
An extra container is added to official stack to have ksql-migrations. (image: confluentinc/ksqldb-cli:0.17.0)
docker-compose up -d
docker exec -it ksql-migrations bash
ksql-migrations new-project /share/migrations/ http://ksqldb-server:8088
ksql-migrations --config-file /share/migrations/ksql-migrations.properties initialize-metadata
ksql-migrations --config-file /share/migrations/ksql-migrations.properties info
Expected behavior
We should see the status of the migrations.
Something like the following:
Actual behaviour
According the documentation this tool is compatible with the 6.X.X releases.
The error is provided in the ticket:
Failed to verify existence of migrations metadata stream
The same error is thrown for
destroy-metadata
apply --next
apply --next --dry-run
validate
I observed a different behaviour using fully ksqlDB 0.17 for the server and the tool (ksql-migrations).
I will do some testing and raise another issue.
Thanks
The text was updated successfully, but these errors were encountered: