ksql icon indicating copy to clipboard operation
ksql copied to clipboard

How apply ksql-migrations rollback

Open javiervelamindcurv opened this issue 2 years ago • 2 comments

Provide details of the setup you're running

  • confluent cloud
  • ksql
  • ksql-migrations

Outline your question You use ksql-migrations to deploy version 1, then you create another version (version 2) and you deploy it using ksql-migrations.

Several hours later, you notice that something is not running fine and you want rollback to version 1. How can I do it?

I tried running ksql-migrations apply -v 1 but it doesn't work:

Version must be newer than the last version migrated. Last version migrated was 2

javiervelamindcurv avatar Jun 22 '22 12:06 javiervelamindcurv

@javiervelamindcurv , we dont yet support rollbacks today. Can make this a feature request for the future.

suhas-satish avatar Jun 28 '22 16:06 suhas-satish

Are there any updates on this topic? It's a quite desirable feature.

AlexVasiukov avatar Dec 15 '23 14:12 AlexVasiukov