Fixed the checkpoint configuration bug in example frameworks.

Review: https://reviews.apache.org/r/23561