Hi Alexis, Broadcast state is one type of the Operator State, which is included in savepoints and checkpoints and won't be lost. Please refer to https://stackoverflow.com/questions/62509773/flink-broadcast-state-rocksdb-state-backend/62510423#62510423
Best, Zakelly On Fri, Oct 28, 2022 at 4:41 AM Alexis Sarda-Espinosa <sarda.espin...@gmail.com> wrote: > > Hello, > > The documentation for broadcast state specifies that it is always kept in > memory. My assumptions based on this statement are: > > 1. If a job restarts in the same Flink cluster (i.e. using a restart > strategy), the tasks' attempt number increases and the broadcast state is > restored since it's not lost from memory. > 2. If the whole Flink cluster is restarted with a savepoint, broadcast state > will not be restored and I need to write my application with this in mind. > > Are these correct? > > Regards, > Alexis. >