Azure Event Hubs Streaming: Does Checkpointing override setStartingPosition?

If we specify the starting position in EventHub conf like so:


And also sepecify the checkpoint location in the StreamWriter

  .option("checkpointLocation", checkpointLocation)

After a restart, does the setStartingPosition become irrelevant because the checkpoint is always used as the point from where to begin reading?


Read more here:

Content Attribution

This content was originally published by Gadam at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: