Spring: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(→MySql) |
|||
Linha 23: | Linha 23: | ||
Tasks | Tasks | ||
*[https://www.planetjones.co.uk/blog/07-11-2018/first-steps-with-spring-cloud-data-flow-task.html First steps running a Cloud Task on Spring Cloud Data Flow Everyone] | *[https://www.planetjones.co.uk/blog/07-11-2018/first-steps-with-spring-cloud-data-flow-task.html First steps running a Cloud Task on Spring Cloud Data Flow Everyone] | ||
*[https://wiki.clusterlab.com.br/index.php/Kubernetes#Azure Kubernetes load Balancing annotation for Azure] | |||
===JAVA DSL=== | ===JAVA DSL=== | ||
*https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/ | *https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/ |
Edição das 16h33min de 15 de julho de 2019
Spring
Eureka
BOOT
Data Flow
- Spring Cloud Data Flow
- Spring Cloud Data Flow Reference Guide
- Orchestrating Data Microservices with Spring Cloud Data Flow
- GIT
Cloud Stream APPs Starter
Docker
Deploy on Kubernetes
Tasks
- First steps running a Cloud Task on Spring Cloud Data Flow Everyone
- Kubernetes load Balancing annotation for Azure
JAVA DSL
- https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/
- Deploying a stream programmaticaly
- Python Http Processor
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;