morningman commented on a change in pull request #1642: add kafka_default_offsets when no partiotion specify .support read kafka partition from start URL: https://github.com/apache/incubator-doris/pull/1642#discussion_r313836333
########## File path: docs/documentation/cn/sql-reference/sql-statements/Data Manipulation/ROUTINE LOAD.md ########## @@ -157,8 +157,17 @@ "kafka_partitions" = "0,1,2,3", "kafka_offsets" = "101,0,OFFSET_BEGINNING,OFFSET_END" - - 4. property + 4. kafka_default_offsets + 指定kafka partition的默认起始offset + 如果没有指定kafka_partitions/kafka_offsets,默认消费所有分区,此时可以指定kafka_default_offsets指定起始 offset。 + 值为 + 1) OFFSET_BEGINNING: 从有数据的位置开始订阅。 + 2) OFFSET_END: 从末尾开始订阅。 + 示例: + + "kafka_default_offsets"="OFFSET_BEGINNING" Review comment: ```suggestion "kafka_default_offsets" = "OFFSET_BEGINNING" ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org