confluentinc / ksql

The database purpose-built for stream processing applications.
https://ksqldb.io
Other
127 stars 1.04k forks source link

How apply ksql-migrations rollback #9221

Open ghost opened 2 years ago

ghost commented 2 years ago

Provide details of the setup you're running

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

suhas-satish commented 2 years ago

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

AlexVasiukov commented 11 months ago

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