Reputation: 588
Below are my queries regarding Flink.
For 3 Question please answer as descriptive as possible. I am interested in learning StateProcessor API but I would like to understand its application in depth and also in what scenarios is it indispensable.
Upvotes: 1
Views: 297
Reputation: 43439
Checkpoints and savepoints can only be written to storage that satisfies the requirements for Flink's filesystem abstraction. You want to use something with durability and redundancy, like S3 or HDFS. RocksDB is not supported as a data store for checkpoints or savepoints.
The state backend is involved in checkpointing, and checkpoints are written in a state-backend-specific format. The most significant difference between the heap-based and rocksdb-based state backends regarding checkpointing is that only the RocksDB state backend supports incremental checkpointing.
The state processor API allows you to write applications that can read and write savepoints (and externalized checkpoints). This is useful for inspecting your applications' state for analysis or debugging, performing state migrations, and bootstrapping state for new applications, to give a few examples.
Upvotes: 1