You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/08/22 20:59:27 UTC
[GitHub] [flink] tweise opened a new pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
tweise opened a new pull request #16932:
URL: https://github.com/apache/flink/pull/16932
Initial documentation for HybridSource (introduced in https://github.com/apache/flink/pull/15924).
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
}, {
"hash" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22677",
"triggerID" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"triggerType" : "PUSH"
}, {
"hash" : "e6b9bb065db921a11a812b93e5e0f9b9bdc1079a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "e6b9bb065db921a11a812b93e5e0f9b9bdc1079a",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b181d6e3d09f16af10b77f9116217cd855a3c5d Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621)
* 48c13621147b29ef3c0876c737f31c2cf7d28350 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22677)
* e6b9bb065db921a11a812b93e5e0f9b9bdc1079a UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] tweise commented on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
tweise commented on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903947387
Thanks for the review and suggestions!
@AHeise PTAL
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
}, {
"hash" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22677",
"triggerID" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"triggerType" : "PUSH"
}, {
"hash" : "e6b9bb065db921a11a812b93e5e0f9b9bdc1079a",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22682",
"triggerID" : "e6b9bb065db921a11a812b93e5e0f9b9bdc1079a",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e6b9bb065db921a11a812b93e5e0f9b9bdc1079a Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22682)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
}, {
"hash" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b181d6e3d09f16af10b77f9116217cd855a3c5d Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621)
* 48c13621147b29ef3c0876c737f31c2cf7d28350 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
}, {
"hash" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22677",
"triggerID" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"triggerType" : "PUSH"
}, {
"hash" : "e6b9bb065db921a11a812b93e5e0f9b9bdc1079a",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22682",
"triggerID" : "e6b9bb065db921a11a812b93e5e0f9b9bdc1079a",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 48c13621147b29ef3c0876c737f31c2cf7d28350 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22677)
* e6b9bb065db921a11a812b93e5e0f9b9bdc1079a Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22682)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903329848
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.
## Automated Checks
Last check on commit 7b181d6e3d09f16af10b77f9116217cd855a3c5d (Sun Aug 22 21:01:24 UTC 2021)
**Warnings:**
* Documentation files were touched, but no `docs/content.zh/` files: Update Chinese documentation or file Jira ticket.
* **This pull request references an unassigned [Jira ticket](https://issues.apache.org/jira/browse/FLINK-22791).** According to the [code contribution guide](https://flink.apache.org/contributing/contribute-code.html), tickets need to be assigned before starting with the implementation work.
<sub>Mention the bot in a comment to re-run the automated checks.</sub>
## Review Progress
* ❓ 1. The [description] looks good.
* ❓ 2. There is [consensus] that the contribution should go into to Flink.
* ❓ 3. Needs [attention] from.
* ❓ 4. The change fits into the overall [architecture].
* ❓ 5. Overall code [quality] is good.
Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
- `@flinkbot approve all` to approve all aspects
- `@flinkbot approve-until architecture` to approve everything until `architecture`
- `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
- `@flinkbot disapprove architecture` to remove an approval you gave earlier
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on a change in pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on a change in pull request #16932:
URL: https://github.com/apache/flink/pull/16932#discussion_r693898717
##########
File path: docs/content/docs/connectors/datastream/hybridsource.md
##########
@@ -0,0 +1,101 @@
+---
+title: Hybrid Source
+weight: 8
+type: docs
+aliases:
+---
+<!--
+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.
+-->
+
+# Hybrid Source
+
+`HybridSource` is a source that contains a list of concrete sources.
Review comment:
Is it better to explain that this Source is a better point based on FLIP-27?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] tweise merged pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
tweise merged pull request #16932:
URL: https://github.com/apache/flink/pull/16932
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b181d6e3d09f16af10b77f9116217cd855a3c5d Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] tweise commented on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
tweise commented on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-904713755
> I'm wondering if we should also tease the `HybridSource` in the overview page. https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/connectors/datastream/overview/
> It's very special since it's our first secondary source and folks may not know that they need it.
Good idea, I will take a look.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] AHeise commented on a change in pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
AHeise commented on a change in pull request #16932:
URL: https://github.com/apache/flink/pull/16932#discussion_r693955740
##########
File path: docs/content/docs/connectors/datastream/hybridsource.md
##########
@@ -0,0 +1,101 @@
+---
+title: Hybrid Source
+weight: 8
+type: docs
+aliases:
+---
+<!--
+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.
+-->
+
+# Hybrid Source
+
+`HybridSource` is a source that contains a list of concrete sources.
+It solves the problem of sequentially reading input from heterogeneous sources to produce a single input stream.
+
+For example, a bootstrap use case may need to read several days worth of bounded input from S3 before continuing with the latest unbounded input from Kafka.
+`HybridSource` switches from `FileSource` to `KafkaSource` when the bounded file input finishes.
+
+Prior to `HybridSource`, it was necessary to create a topology with multiple sources and define a switching mechanism in user land, which leads to operational complexity and inefficiency.
+
+With `HybridSource` the multiple sources appear as a single source in the Flink job graph and from `DataStream` API perspective.
+
+For more background see [FLIP-150](https://cwiki.apache.org/confluence/display/FLINK/FLIP-150%3A+Introduce+Hybrid+Source)
+
+To use the connector, add the ```flink-connector-base``` dependency to your project:
+
+{{< artifact flink-connector-base >}}
+
+(Typically comes as transitive dependency with concrete sources.)
+
+## Start position for next source
+
+To arrange multiple sources in a `HybridSource` each source typically needs to be assigned a
+start and end position (end position for bounded input for all but the final source).
+Details depend on the specific source and the external storage systems.
Review comment:
```suggestion
To arrange multiple sources in a `HybridSource`, all sources except the last one need to be bounded. Therefore, the sources typically need to be assigned a start and end position. The last source may be bounded in which case the `HybridSource` is bounded and unbounded otherwise.
Details depend on the specific source and the external storage systems.
```
##########
File path: docs/content/docs/connectors/datastream/hybridsource.md
##########
@@ -0,0 +1,101 @@
+---
+title: Hybrid Source
+weight: 8
+type: docs
+aliases:
+---
+<!--
+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.
+-->
+
+# Hybrid Source
+
+`HybridSource` is a source that contains a list of concrete sources.
Review comment:
I'd not explicitly mention FLIP-27. Eventually source=FLIP-27, if we do a good enough job. But maybe we could link to https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/dev/datastream/sources/?
##########
File path: docs/content/docs/connectors/datastream/hybridsource.md
##########
@@ -0,0 +1,101 @@
+---
+title: Hybrid Source
+weight: 8
+type: docs
+aliases:
+---
+<!--
+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.
+-->
+
+# Hybrid Source
+
+`HybridSource` is a source that contains a list of concrete sources.
+It solves the problem of sequentially reading input from heterogeneous sources to produce a single input stream.
+
+For example, a bootstrap use case may need to read several days worth of bounded input from S3 before continuing with the latest unbounded input from Kafka.
+`HybridSource` switches from `FileSource` to `KafkaSource` when the bounded file input finishes.
+
+Prior to `HybridSource`, it was necessary to create a topology with multiple sources and define a switching mechanism in user land, which leads to operational complexity and inefficiency.
+
+With `HybridSource` the multiple sources appear as a single source in the Flink job graph and from `DataStream` API perspective.
+
+For more background see [FLIP-150](https://cwiki.apache.org/confluence/display/FLINK/FLIP-150%3A+Introduce+Hybrid+Source)
+
+To use the connector, add the ```flink-connector-base``` dependency to your project:
+
+{{< artifact flink-connector-base >}}
+
+(Typically comes as transitive dependency with concrete sources.)
+
+## Start position for next source
+
+To arrange multiple sources in a `HybridSource` each source typically needs to be assigned a
+start and end position (end position for bounded input for all but the final source).
+Details depend on the specific source and the external storage systems.
+
+Here we cover the most basic and then a more complex scenario, following the File/Kafka example.
+
+#### Fixed start position at graph construction time
+
+Example: Read till pre-determined switch time from files and then continue reading from Kafka.
+Each source covers an upfront known range and therefore the contained sources can be created upfront as if they were used directly:
+
+```java
+long switchTimestamp = t2; // derive from file input paths
Review comment:
```suggestion
long switchTimestamp = ...; // derive from file input paths
```
##########
File path: docs/content/docs/connectors/datastream/hybridsource.md
##########
@@ -0,0 +1,101 @@
+---
+title: Hybrid Source
+weight: 8
+type: docs
+aliases:
+---
+<!--
+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.
+-->
+
+# Hybrid Source
+
+`HybridSource` is a source that contains a list of concrete sources.
+It solves the problem of sequentially reading input from heterogeneous sources to produce a single input stream.
+
+For example, a bootstrap use case may need to read several days worth of bounded input from S3 before continuing with the latest unbounded input from Kafka.
+`HybridSource` switches from `FileSource` to `KafkaSource` when the bounded file input finishes.
Review comment:
```suggestion
For example, a bootstrap use case may need to read several days worth of bounded input from S3 before continuing with the latest unbounded input from Kafka.
`HybridSource` switches from `FileSource` to `KafkaSource` when the bounded file input finishes without interrupting the application.
```
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] tweise commented on a change in pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
tweise commented on a change in pull request #16932:
URL: https://github.com/apache/flink/pull/16932#discussion_r694147643
##########
File path: docs/content/docs/connectors/datastream/hybridsource.md
##########
@@ -0,0 +1,101 @@
+---
+title: Hybrid Source
+weight: 8
+type: docs
+aliases:
+---
+<!--
+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.
+-->
+
+# Hybrid Source
+
+`HybridSource` is a source that contains a list of concrete sources.
Review comment:
+1, added the link
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b181d6e3d09f16af10b77f9116217cd855a3c5d UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
}, {
"hash" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22677",
"triggerID" : "48c13621147b29ef3c0876c737f31c2cf7d28350",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b181d6e3d09f16af10b77f9116217cd855a3c5d Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621)
* 48c13621147b29ef3c0876c737f31c2cf7d28350 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22677)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16932: [FLINK-22791][docs] Documentation for HybridSource
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16932:
URL: https://github.com/apache/flink/pull/16932#issuecomment-903333037
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621",
"triggerID" : "7b181d6e3d09f16af10b77f9116217cd855a3c5d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b181d6e3d09f16af10b77f9116217cd855a3c5d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22621)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org