Hi everyone,

While upgrading a job of mine to Flink 2.2, I wrote a small tool to list
what would break first, and I have open-sourced it in case it helps others:
https://github.com/prajwal-jadhav01/flink2-check

It checks four things:
- Code: classes and methods removed in 2.0, with file, line and suggested
fix
- Build: connectors and modules with no 2.x release, and the version to
move to
- Config: removed keys and the legacy flink-conf.yaml
- State: reads a savepoint's metadata (heap or RocksDB) and reports state
serialized with Kryo, which is not compatible with 2.x

The rules are generated from the Flink 2.0 release notes and Maven Central,
not written by hand. It works on syntax rather than full compilation, so it
can miss some cases. The README lists the limits.

Feedback, false positives and missed cases are very welcome, as GitHub
issues or replies here.

Thanks,
Prajwal

Reply via email to