The goal of States is to record the list of processed external resources in order to prevent from processing them again.

That way, when restarting a node, only the new external resources are consumed, not the already processed ones.

You have 2 kinds of States

  • A set of values in order to remember the processed files for instance
  • A map of values in order to remember the last offsets for instance

Import / Export of an application

When exporting an application, the content of a State is not exported.


Related Links