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/29 17:33:05 UTC

[GitHub] [incubator-seatunnel] TaoZex opened a new pull request, #2953: [Doc] [Connector-V2] Add connector-v2 kafka source doc

TaoZex opened a new pull request, #2953:
URL: https://github.com/apache/incubator-seatunnel/pull/2953

   <!--
   
   Thank you for contributing to SeaTunnel! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/incubator-seatunnel/issues).
   
     - Name the pull request in the form "[Feature] [component] Title of the pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
   
     - Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
   
   -->
   
   ## Purpose of this pull request
   issue:https://github.com/apache/incubator-seatunnel/issues/2840
   Add connector-v2 kafka source and sink doc
   sink doc in pr:https://github.com/apache/incubator-seatunnel/pull/2889
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for reason:
   * [ ] If any new Jar binary package adding in your PR, please add License Notice according
     [New License Guide](https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/contribution/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
   


-- 
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


[GitHub] [incubator-seatunnel] hailin0 commented on a diff in pull request #2953: [Doc] [Connector-V2] Add connector-v2 kafka source doc

Posted by GitBox <gi...@apache.org>.
hailin0 commented on code in PR #2953:
URL: https://github.com/apache/incubator-seatunnel/pull/2953#discussion_r984198845


##########
docs/en/connector-v2/source/kafka.md:
##########
@@ -0,0 +1,91 @@
+# 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           | Boolean | no       | false                    |
+| consumer.group    | String  | no       | SeaTunnel-Consumer-Group |
+| commit_on_checkpoint    | Boolean | no       | true |
+| kafka.*           | String  | no       | -                        |
+| common-options    |         | no       | -                        |

Review Comment:
   check style



-- 
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


[GitHub] [incubator-seatunnel] CalvinKirs merged pull request #2953: [Doc] [Connector-V2] Add connector-v2 kafka source doc

Posted by GitBox <gi...@apache.org>.
CalvinKirs merged PR #2953:
URL: https://github.com/apache/incubator-seatunnel/pull/2953


-- 
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


[GitHub] [incubator-seatunnel] hailin0 commented on a diff in pull request #2953: [Doc] [Connector-V2] Add connector-v2 kafka source doc

Posted by GitBox <gi...@apache.org>.
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