Losing events when spark streaming application is in maintenance mode

additional info checkpoint seems to be only tracking events that come in when spark streaming application is running but if we need to bring down spark application for maintenance we will losing new mongo events that come in collection during that interval. Any thoughts how others are handling this behavour with available connector?

I’m using mongo-spark-connector 10.3.0 which is compatible with spark-3.4.2 as its compatible.