Upgrade Aiven for Apache Flink
Upgrading to the latest version of Aiven for Apache Flink® allows you to benefit from improved features, enhanced performance, and better security.
Limitations
- Direct upgrades on active Aiven for Apache Flink services are not supported.
- Upgrading to Apache Flink 1.19 requires creating a new service and manually transferring applications.
Migrate to a newer Apache Flink version
If you are using Aiven for Apache Flink version 1.16, which will soon reach end-of-life, create new service for version 1.19 and migrate your applications to continue receiving support and take advantage of the latest enhancements.
Step 1: Create an Aiven for Apache Flink service
- Create an Aiven for Apache Flink service using the Aiven Console, Aiven Client, or Terraform (provider version 4.19.0).
- Select Apache Flink 1.19 as the deployment version for the Aiven for Apache Flink service.
Step 2: Transfer your applications
- Manual
- Using Terraform
For manually created applications:
- Stop the application deployment in the existing Aiven for Apache Flink service.
- Copy the source, sinks, and transformation statements from the existing service for your applications.
- Create applications in the new service and add the copied source, sinks, and transformation statements.
- Deploy the applications in the new service.
For more information, see Aiven for Apache Flink applications.
If you used Terraform (ensure you're on provider version 4.19.0) to create your service and applications:
- Update the
flink_version
property in your Terraform script to 1.19. - Run Terraform to create Aiven for Apache Flink service with the updated version and applications. Terraform will automatically handle the recreation and deployment of your applications.
For more information, see aiven_flink.
note
For information on breaking changes between versions, refer to the official Apache Flink release notes.
Step 3: Verify and power off the service
To complete the migration:
- Verify that the applications are operating correctly in the new Aiven for Apache Flink service.
- Power off and delete the old service after confirming the new service is running.