Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove refs to SCDF samples from docs #407

Merged
merged 1 commit into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ To get started, you need to add the following dependency to your project:
</dependency>
```

<!--NOTE-->

You can find a complete sample in the [Spring Cloud Data Flow Samples Repository](https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/#_java_dsl).

<!--END_NOTE-->

## Usage

The classes at the heart of the Java DSL are `StreamBuilder`, `StreamDefinition`, `Stream`, `StreamApplication`, and `DataFlowTemplate`.
Expand Down Expand Up @@ -87,7 +81,6 @@ The Java DSL offers two styles to create Streams:
You then chain together `processor()` and `sink()` methods to create a stream definition.

To demonstrate both styles, we include a simple stream that uses both approaches.
You can find a complete sample that you can use to get started in the [Spring Cloud Data Flow Samples Repository](https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/#_java_dsl).

The following example demonstrates the definition approach:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ We create a `time-source` application that produces the current date or timestam

For more information on how Spring Cloud Stream provides this support, see the [Spring Cloud Stream documentation](https://cloud.spring.io/spring-cloud-static/spring-cloud-stream/current/reference/html/spring-cloud-stream.html#spring-cloud-stream-overview-producing-consuming-messages).

Sample applications are available in Spring Cloud Data Flow samples [repository](https://github.com/spring-cloud/spring-cloud-dataflow-samples/tree/master/spring-cloud-stream-function-bindings).

With Spring Cloud Stream 3.x as the dependency, you can write the `Source` application by using `java.util.function.Supplier`, as follows:

```Java
Expand Down
13 changes: 6 additions & 7 deletions content/documentation/pages/8-resources/1-reference-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ The following projects play a pivotal part in the streaming and batch data proce
The projects all individually evolve with different backlogs, priorities, and release cadences. However, Spring Cloud Data Flow as a product brings them together for a cohesive developer experience.
Hence, we broadly refer to these projects as the "Spring Cloud Data Flow Ecosystem".

| Name | Description | Documentation |
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really part of #406

| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| [Spring Cloud Stream](https://spring.io/projects/spring-cloud-stream) | Event-driven Spring Boot microservices that communicate with one another over messaging middleware. | [Reference Guide](https://cloud.spring.io/spring-cloud-static/spring-cloud-stream/2.2.1.RELEASE/home.html) |
| [Spring Cloud Task](https://spring.io/projects/spring-cloud-task) | Short-lived Spring Boot microservices that store task execution information in a database. | [Reference Guide](https://docs.spring.io/spring-cloud-task/docs/%task-version%/reference/html) |
| [Spring Cloud Skipper](https://cloud.spring.io/spring-cloud-skipper/) | Manages the blue-green deployment of Spring Cloud Stream applications on multiple Cloud Platforms. | [Reference Guide](https://docs.spring.io/spring-cloud-skipper/docs/%skipper-version%/reference/htmlsingle/#getting-started) |
| [Spring Cloud Stream App Starters](https://cloud.spring.io/spring-cloud-stream-app-starters/) | A collection of Spring Cloud Stream-based applications for common real-time streaming use cases. | [Reference Guide](https://docs.spring.io/stream-applications/docs/%streaming-apps-version%/reference/html/) |
| [Spring Cloud Task App Starters](https://cloud.spring.io/spring-cloud-task-app-starters/) | A collection of Spring Cloud Task-based applications for common batch use cases | [Reference Guide](https://docs.spring.io/spring-cloud-task-app-starters/docs/%batch-apps-version%/reference/htmlsingle/) |
| Name | Description | Documentation |
|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------------------------- |
| [Spring Cloud Stream](https://spring.io/projects/spring-cloud-stream) | Event-driven Spring Boot microservices that communicate with one another over messaging middleware. | [Reference Guide](https://cloud.spring.io/spring-cloud-static/spring-cloud-stream/2.2.1.RELEASE/home.html) |
| [Spring Cloud Task](https://spring.io/projects/spring-cloud-task) | Short-lived Spring Boot microservices that store task execution information in a database. | [Reference Guide](https://docs.spring.io/spring-cloud-task/docs/%task-version%/reference/html) |
| [Spring Cloud Skipper](https://cloud.spring.io/spring-cloud-skipper/) | Manages the blue-green deployment of Spring Cloud Stream applications on multiple Cloud Platforms. | [Reference Guide](https://docs.spring.io/spring-cloud-skipper/docs/%skipper-version%/reference/htmlsingle/#getting-started) |
| [Spring Cloud Stream Applications](https://spring.io/projects/spring-cloud-stream-applications) | A collection of components that can meet various data integration use cases and requirements.| [Reference Guide](https://docs.spring.io/stream-applications/docs/current/reference/html/) |
Original file line number Diff line number Diff line change
Expand Up @@ -6,57 +6,6 @@ description: ''

# Frequently Asked Questions

## Application Starters
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really part of #406


<!--QUESTION#findtaskapps-->

Where can I find the latest Spring Cloud Stream and Spring Cloud Task application starters?

The latest releases of the Stream and Task application starters are published to Maven Central and Docker Hub.
You can find the latest release versions from the [Spring Cloud Stream App Starters](https://cloud.spring.io/spring-cloud-stream-app-starters/) and [Spring Cloud Task App Starters](https://cloud.spring.io/spring-cloud-task-app-starters/) project sites.

<!--END_QUESTION-->

<!--QUESTION#appreleases-->

Where can I find the documentation for the latest application releases?

See the [Spring Cloud Stream App Starters](https://cloud.spring.io/spring-cloud-stream-app-starters/) and [Spring Cloud Task App Starters](https://cloud.spring.io/spring-cloud-task-app-starters/) project sites.

<!--END_QUESTION-->

<!--QUESTION#extendapps-->

Can I patch and extend the out-of-the-box applications?

Yes. You can find more details in the reference guide section on [Patching Application Starters](https://docs.spring.io/stream-applications/docs/%streaming-apps-version%/reference/html/#_patching_pre_built_applications) as well as documentation on [Functional Composition](%currentPath%/feature-guides/streams/function-composition).

<!--END_QUESTION-->

<!--QUESTION#buildappstarters-->

Can I build a new application based on the same infrastructure as the out-of-the-box applications?

Yes. You can find more details in the Spring Cloud Stream App Starter's reference guide section titled [FAQ on Spring Cloud Stream App Starters](https://docs.spring.io/stream-applications/docs/%streaming-apps-version%/reference/html/#_general_faq_on_spring_cloud_stream_app_starters).

<!--END_QUESTION-->

<!--QUESTION#downloadapps-->

Where can I download the latest applications?

See the [stream](https://cloud.spring.io/spring-cloud-stream-app-starters/#http-repository-location-for-apps) and [task](https://cloud.spring.io/spring-cloud-task-app-starters/#http-repository-location-for-apps) apps project sites.

<!--END_QUESTION-->

<!--QUESTION#appdockerimages-->

Where are the Docker images hosted?

See the [stream](https://hub.docker.com/u/springcloudstream) and [task](https://hub.docker.com/u/springcloudtask) apps in Docker Hub.

<!--END_QUESTION-->

## Data Flow

<!--QUESTION#appsandscdf-->
Expand Down
15 changes: 0 additions & 15 deletions content/documentation/pages/8-resources/2-samples.md

This file was deleted.