Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/cn/docs/quickstart/toolchain/hugegraph-loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ schema: 必填
- date_format:自定义的日期格式,默认值为 yyyy-MM-dd HH:mm:ss,选填;如果日期是以时间戳的形式呈现的,此项须写为 timestamp(固定写法);
- extra_date_formats:自定义的其他日期格式列表,默认为空,选填;列表中每一项都是一个 date_format 指定日期格式的备用日期格式;
- time_zone:置日期数据是处于哪个时区的,默认值为 GMT+8,选填;
- skipped_line:当前 master 的 KafkaReader 未实现该过滤,配置此字段不会跳过 Kafka 消息;每条消息仍会直接交给所选格式的解析器,空行或注释行可能因此触发解析错误。需要过滤时请在写入 Kafka 前或消费侧预处理;
- skipped_line:当前 master 的 KafkaReader 未实现该过滤,配置此字段不会跳过 Kafka 消息;每条消息仍会直接交给所选格式的解析器,空行或注释行可能因此触发解析错误。需要过滤时请在写入 Kafka 前或消费侧预处理,或将消息导出为按行存储的文本文件(CSV、TEXT 或 JSON,不含 ORC 和 Parquet,后两者的读取器不会检查 `skipped_line`)后改用 `FILE`/`HDFS` 输入源(对于 CSV 和 TEXT,请显式配置 `header` 或将有效表头放在待跳过行之前的首行,因为 `FileLineFetcher.readHeader()` 会在应用 `skipped_line` 之前读取首行);
- batch_size:单次拉取的最大记录数(`max.poll.records`),默认为 500,选填;
- early_stop:某次从 Kafka broker 拉取的记录为空,停止任务,默认为 false,仅用于调试,选填;

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/quickstart/toolchain/hugegraph-loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ schema: required
- date_format: customized date format, default value is yyyy-MM-dd HH:mm:ss, optional; if the date is presented in the form of timestamp, this item must be written as timestamp (fixed);
- extra_date_formats: a customized list of another date formats, empty by default, optional; each item in the list is an alternate date format to the date_format specified date format;
- time_zone: set which time zone the date data is in, default is GMT+8, optional;
- skipped_line: current master `KafkaReader` does not implement this filter. Kafka messages go directly to the parser, so configuring this field does not skip blank or comment messages; preprocess them upstream or in the consumer to avoid parse failures;
- skipped_line: current master `KafkaReader` does not implement this filter. Kafka messages go directly to the parser, so configuring this field does not skip blank or comment messages; preprocess them upstream or in the consumer to avoid parse failures, or export the messages to line-oriented files (CSV, TEXT, or JSON; not ORC or Parquet, whose readers do not check `skipped_line`) and load them through a `FILE`/`HDFS` input source (for CSV and TEXT, configure an explicit `header` or place a valid header on the first line before any lines to skip, since `FileLineFetcher.readHeader()` reads the first physical line before applying `skipped_line`);
- batch_size: the maximum number of records fetched in one poll (`max.poll.records`), default is 500, optional;
- early_stop: the record pulled from Kafka broker at a certain time is empty, stop the task, default is false, only for debugging, optional;

Expand Down