imbajin commented on code in PR #570:
URL: https://github.com/apache/hugegraph-doc/pull/570#discussion_r4654985804


##########
content/en/docs/quickstart/toolchain/hugegraph-loader.md:
##########
@@ -993,6 +1001,19 @@ For a long import, use a progress file to resume after an 
interruption.
 
 Set `--incremental-mode` to `true` to resume from a progress file. Loader 
records progress when it closes normally after a successful import
 or a normal stop; an unexpected failure may prevent this write.
+
+The resume behavior depends on the input source:
+
+| Input source | What determines the next starting point |
+| --- | --- |
+| FILE / HDFS | Loader restores the recorded per-file positions from its 
progress file |
+| JDBC / GRAPH | Loader does not restore a source-row or graph-scan position; 
restarting can read previously imported elements again |
+| Kafka | Consumer-group offsets stored by Kafka determine the starting point; 
Loader's progress file does not replace them |

Review Comment:
   **⚠️ Include the missing-offset fallback in recovery guidance**
   
   If the group has no valid committed offset (for example, the first commit 
has not happened or the offset expired), Kafka uses `auto.offset.reset` 
instead. Loader defaults `from_beginning` to false and sets that policy to 
`latest`, so a restart can skip existing records. Please qualify this row and 
link to the `from_beginning` explanation; the Chinese table needs the same 
clarification. This is based on source inspection, without a live Kafka 
recovery test.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to