Spring: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Linha 19: Linha 19:
*[https://github.com/spring-cloud-stream-app-starters Spring Cloud Stream App Starters]
*[https://github.com/spring-cloud-stream-app-starters Spring Cloud Stream App Starters]
*[https://github.com/spring-cloud/spring-cloud-stream-app-starters OLD REPO, Spring Cloud Stream App Starters]
*[https://github.com/spring-cloud/spring-cloud-stream-app-starters OLD REPO, Spring Cloud Stream App Starters]
Tasks
*[https://docs.spring.io/spring-cloud-task/docs/2.2.2.RELEASE/reference/ Spring Cloud Task Reference Guide]
Docker
Docker
*[https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/v2.0.1.RELEASE/spring-cloud-dataflow-server/docker-compose.yml Docker compose]
*[https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/v2.0.1.RELEASE/spring-cloud-dataflow-server/docker-compose.yml Docker compose]

Edição das 12h33min de 22 de janeiro de 2020

Spring

Eureka

BOOT

Data Flow

Cloud Stream APPs Starter

Tasks

Docker

Deploy on Kubernetes

Tasks

JAVA DSL

Tasks

Properties

scheduler.kubernetes.entryPointStyle=<Entry Point Style> exec/shell/boot
scheduler.kubernetes.environmentVariables=JAVA_TOOL_OPTIONS=-Xmx1024m
scheduler.kubernetes.imagePullSecret=mysecret
scheduler.kubernetes.entryPointStyle=exec

SHELL

URLS

Example

dataflow:>app import --uri http://bit.ly/Einstein.GA-stream-applications-kafka-10-maven
dataflow:>stream create --name mysqlstream --definition "http --server.port=8787 | jdbc --tableName=names --columns=name --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver --spring.datasource.url='jdbc:mysql://localhost:3306/test'" --deploy
dataflow:>stream list

SKIPPER

MySql

Clear tasks "running" from queue

delete from TASK_TASK_BATCH;
delete from TASK_EXECUTION_PARAMS;
delete from TASK_EXECUTION;

Cloud

Azure