What happens when the flink job interacts with a user managed database and
hence has some state outside of flink? In these situations when a flink job is
recovered from last successful checkpoint, this external state will not be in
sync with the recovered flink state. In most cases it will be ahead of the
recovered flink state. Any recommendations or best practices to follow here? I
am assuming it must be very common for flink applications to interact with
external systems (databases, message systems etc.)