Skip to content

Commit ec7f21e

Browse files
committed
docs: Fix ifile source documentation
1 parent 2295d1b commit ec7f21e

File tree

1 file changed

+8
-1
lines changed
  • website/cue/reference/components/sources

1 file changed

+8
-1
lines changed

website/cue/reference/components/sources/ifile.cue

+8-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ components: sources: ifile: {
1818
auto_generated: true
1919
acknowledgements: true
2020
collect: {
21-
checkpoint: enabled: true
21+
checkpoint: enabled: false
2222
from: {
2323
service: services.files
2424

@@ -441,6 +441,13 @@ components: sources: ifile: {
441441
checkpointing: {
442442
title: "Checkpointing"
443443
body: """
444+
Vector checkpoints the current read position after each
445+
successful read. This ensures that Vector resumes where it left
446+
off if restarted, preventing data from being read twice. The
447+
checkpoint positions are stored in the data directory which is
448+
specified via the global `data_dir` option, but can be overridden
449+
via the `data_dir` option in the file source directly.
450+
444451
The `ifile` source introduces a new `checkpoint_interval` configuration option that
445452
controls how frequently the current read position is saved to disk during normal operation.
446453

0 commit comments

Comments
 (0)