Spring Cloud Stream Applications Einstein SR5

Spring Cloud Stream Applications are standalone executable applications that communicate over messaging middleware such as Apache Kafka and RabbitMQ.

These applications can run independently on a variety of runtime platforms, including Kubernetes, Docker, Cloud Foundry, or even on your laptop.
Features

Out-of-the-box applications ready to run as standalone Spring Boot applications.

Assemble a set of applications into a coherent streaming data pipeline in Spring Cloud Data Flow.

Override configuration parameters via application properties, environment variables, or in the YAML file.

Available Applications

Source

Processor

Sink

Time

Splitter

Log

HTTP

Rabbitmq

JDBC

Quick Start

Step 1 - Download the latest time-source application from here [eg: /3.0.0.BUILD-SNAPSHOT/time-source-kafka-3.0.0.BUILD-SNAPSHOT.jar]

Step 2 - Download the latest log-sink application from here [eg: /3.0.0.BUILD-SNAPSHOT/log-sink-kafka-3.0.0.BUILD-SNAPSHOT.jar]

Step 3 - Start Kafka

Step 4 - Start the Time Source producer application pointing to ticktock topic in Kafka

java -jar time-source-kafka-***.jar --spring.cloud.stream.bindings.output.destination=ticktock

Step 5 - Start the Log Sink consumer application pointing to ticktock topic in Kafka

java -jar log-sink-kafka-***.jar --spring.cloud.stream.bindings.input.destination=ticktock

Step 6 - Verify ticktock output in the log-sink logs
Stream Applications and Spring Cloud Data Flow (**)

Artifact Type

Stable Release

Snapshot Release

RabbitMQ + Maven

https://dataflow.spring.io/rabbit-maven-latest

https://dataflow.spring.io/Fahreneheit-BUILD-SNAPSHOT-stream-applications-rabbit-maven

RabbitMQ + Docker

https://dataflow.spring.io/rabbit-docker-latest

https://dataflow.spring.io/Fahrenheit-BUILD-SNAPSHOT-stream-applications-rabbit-docker

Apache Kafka + Maven

https://dataflow.spring.io/kafka-maven-latest

https://dataflow.spring.io/Fahrenheit-BUILD-SNAPSHOT-stream-applications-kafka-maven

Apache Kafka + Docker

https://dataflow.spring.io/kafka-docker-latest

https://dataflow.spring.io/Fahrenheit-BUILD-SNAPSHOT-stream-applications-kafka-docker

(**) find out how to use the app-starters in Spring Cloud Data Flow by reviewing the app-registration section in the reference guide
HTTP Repository Location for Apps

Versions: Boot / Stream

Rabbit MQ

Apache Kafka

Spring Boot 2.3.x / Spring Cloud Stream 3.0.x

Stable Release / Latest Snapshot

Stable Release / Latest Snapshot
Related Projects

Spring Cloud Stream

Spring Cloud Data Flow

Spring Cloud Task

Quick start
Bootstrap your application with Spring Initializr.

发布了0 篇原创文章 · 获赞 0 · 访问量 1523

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/104738174
今日推荐