Huanli-Meng commented on a change in pull request #17188: URL: https://github.com/apache/flink/pull/17188#discussion_r704893728
########## File path: docs/content/docs/connectors/datastream/pulsar.md ########## @@ -0,0 +1,409 @@ +--- +title: Pulsar +weight: 9 +type: docs +--- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# Apache Pulsar Connector + +Flink provides an [Apache Pulsar](https://pulsar.apache.org) source for reading data from Pulsar topics with exactly-once guarantees. Review comment: source connector? ########## File path: docs/content/docs/connectors/datastream/pulsar.md ########## @@ -0,0 +1,409 @@ +--- +title: Pulsar +weight: 9 +type: docs +--- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# Apache Pulsar Connector + +Flink provides an [Apache Pulsar](https://pulsar.apache.org) source for reading data from Pulsar topics with exactly-once guarantees. + +## Dependency + +You can use the connector with Pulsar 2.7.0 or later, but since connector uses Review comment: ```suggestion You can use the connector with Pulsar 2.7.0 or higher. However, the Pulsar source connector supports ``` ########## File path: docs/content/docs/connectors/datastream/pulsar.md ########## @@ -0,0 +1,409 @@ +--- +title: Pulsar +weight: 9 +type: docs +--- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# Apache Pulsar Connector + +Flink provides an [Apache Pulsar](https://pulsar.apache.org) source for reading data from Pulsar topics with exactly-once guarantees. + +## Dependency + +You can use the connector with Pulsar 2.7.0 or later, but since connector uses +Pulsar [transactions](https://pulsar.apache.org/docs/en/txn-what/), +the minimum recommend version is 2.8.0, where Pulsar transactions became stable. +For details on Pulsar compatibility, please refer to the [PIP-72](https://github.com/apache/pulsar/wiki/PIP-72%3A-Introduce-Pulsar-Interface-Taxonomy%3A-Audience-and-Stability-Classification). + +{{< artifact flink-connector-pulsar withScalaVersion >}} + +if you are using Pulsar source, ```flink-connector-base``` is also required as dependency: + +{{< artifact flink-connector-base >}} + +Flink's streaming connectors are not currently part of the binary distribution. +See how to link with them for cluster execution [here]({{< ref "docs/dev/datastream/project-configuration" >}}). + +## Pulsar Source + +{{< hint info >}} +This part describes the Pulsar source based on the new +[data source]({{< ref "docs/dev/datastream/sources.md" >}}) API. + +If you want to use the legacy ```SourceFunction``` or on Flink below 1.14.0, just use the StreamNative's [pulsar-flink](https://github.com/streamnative/pulsar-flink) +{{< /hint >}} Review comment: ```suggestion {{< /hint >}}. ``` ########## File path: docs/content/docs/connectors/datastream/pulsar.md ########## @@ -0,0 +1,409 @@ +--- +title: Pulsar +weight: 9 +type: docs +--- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# Apache Pulsar Connector + +Flink provides an [Apache Pulsar](https://pulsar.apache.org) source for reading data from Pulsar topics with exactly-once guarantees. + +## Dependency + +You can use the connector with Pulsar 2.7.0 or later, but since connector uses +Pulsar [transactions](https://pulsar.apache.org/docs/en/txn-what/), +the minimum recommend version is 2.8.0, where Pulsar transactions became stable. Review comment: ```suggestion is is recommended to use Pulsar 2.8.0 or higher releases. ``` Although Transaction is introduced since Pulsar 2.8.0, but you need to confirm with Cong Bo that in which version does Transaction is stable. ########## File path: docs/content/docs/connectors/datastream/pulsar.md ########## @@ -0,0 +1,409 @@ +--- +title: Pulsar +weight: 9 +type: docs +--- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# Apache Pulsar Connector + +Flink provides an [Apache Pulsar](https://pulsar.apache.org) source for reading data from Pulsar topics with exactly-once guarantees. + +## Dependency + +You can use the connector with Pulsar 2.7.0 or later, but since connector uses +Pulsar [transactions](https://pulsar.apache.org/docs/en/txn-what/), +the minimum recommend version is 2.8.0, where Pulsar transactions became stable. +For details on Pulsar compatibility, please refer to the [PIP-72](https://github.com/apache/pulsar/wiki/PIP-72%3A-Introduce-Pulsar-Interface-Taxonomy%3A-Audience-and-Stability-Classification). + +{{< artifact flink-connector-pulsar withScalaVersion >}} + +if you are using Pulsar source, ```flink-connector-base``` is also required as dependency: + +{{< artifact flink-connector-base >}} + +Flink's streaming connectors are not currently part of the binary distribution. +See how to link with them for cluster execution [here]({{< ref "docs/dev/datastream/project-configuration" >}}). + +## Pulsar Source + +{{< hint info >}} +This part describes the Pulsar source based on the new +[data source]({{< ref "docs/dev/datastream/sources.md" >}}) API. + +If you want to use the legacy ```SourceFunction``` or on Flink below 1.14.0, just use the StreamNative's [pulsar-flink](https://github.com/streamnative/pulsar-flink) Review comment: what do you mean by saying "on Flink below 1.14.0"? ```suggestion If you want to use the legacy ```SourceFunction``` or on Flink 1.14.0 or lower releases, just use StreamNative's [pulsar-flink](https://github.com/streamnative/pulsar-flink) ``` -- 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]
