void triggerCheckpoint(long checkpointId) throws FlinkException
When this method is called, the parallel operator instance in which the calling source function runs will perform its checkpoint and insert the checkpoint barrier into the data stream.
checkpointId- The ID that identifies the checkpoint.
FlinkException- Thrown when the checkpoint could not be triggered, for example because of an invalid state or errors when storing the checkpoint state.
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.