You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/30 03:12:58 UTC
[GitHub] [incubator-seatunnel] hailin0 commented on a diff in pull request #2953: [Doc] [Connector-V2] Add connector-v2 kafka source doc
hailin0 commented on code in PR #2953:
URL: https://github.com/apache/incubator-seatunnel/pull/2953#discussion_r984171369
##########
docs/en/connector-v2/source/kafka.md:
##########
@@ -0,0 +1,86 @@
+# Kafka
+
+> Kafka source connector
+
+## Description
+
+Source connector for Apache Kafka.
+
+## Key features
+
+- [x] [batch](../../concept/connector-v2-features.md)
+- [x] [stream](../../concept/connector-v2-features.md)
+- [x] [exactly-once](../../concept/connector-v2-features.md)
+- [ ] [schema projection](../../concept/connector-v2-features.md)
+- [x] [parallelism](../../concept/connector-v2-features.md)
+- [ ] [support user-defined split](../../concept/connector-v2-features.md)
+
+## Options
+
+| name | type | required | default value |
+| ----------------- | ------ | -------- | ------------------------ |
+| topic | String | yes | - |
+| bootstrap.servers | String | yes | - |
+| pattern | String | no | false |
Review Comment:
String -> boolean?
##########
docs/en/connector-v2/source/kafka.md:
##########
@@ -0,0 +1,86 @@
+# Kafka
+
+> Kafka source connector
+
+## Description
+
+Source connector for Apache Kafka.
+
+## Key features
+
+- [x] [batch](../../concept/connector-v2-features.md)
+- [x] [stream](../../concept/connector-v2-features.md)
+- [x] [exactly-once](../../concept/connector-v2-features.md)
+- [ ] [schema projection](../../concept/connector-v2-features.md)
+- [x] [parallelism](../../concept/connector-v2-features.md)
+- [ ] [support user-defined split](../../concept/connector-v2-features.md)
+
+## Options
+
+| name | type | required | default value |
+| ----------------- | ------ | -------- | ------------------------ |
+| topic | String | yes | - |
+| bootstrap.servers | String | yes | - |
+| pattern | String | no | false |
+| consumer.group | String | no | SeaTunnel-Consumer-Group |
+| kafka.* | String | no | - |
+| common-options | | no | - |
+
Review Comment:
Add `commit_on_checkpoint` option?
https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSource.java#L87
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org