Spring: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Linha 63: Linha 63:
delete from TASK_EXECUTION;
delete from TASK_EXECUTION;
</syntaxhighlight>
</syntaxhighlight>
=[https://github.com/OpenFeign/feign Feing]=
*[https://medium.com/@darguelles.rojas91/amazing-rest-clients-with-mr-feign-6195d5499a38 Feign: Resilience and scalability for your rest clients]
*[https://www.baeldung.com/intro-to-feign Intro to Feign]
*[https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-feign.html Declarative REST Client: Feign]
*[https://www.baeldung.com/spring-cloud-openfeign Introduction to Spring Cloud OpenFeign]
*[https://cloud.spring.io/spring-cloud-static/spring-cloud-openfeign/2.2.3.RELEASE/reference/html/ Spring Cloud OpenFeign]
*[https://www.youtube.com/watch?v=_MMf2SvNqxo Spring Cloud Feign - Declarative REST Client - Youtube]
*[https://github.com/Java-Techie-jt/spring-cloud-feign Spring Cloud Feign - Declarative REST Client - GitHub]


=Cloud=
=Cloud=

Edição das 02h44min de 1 de junho de 2020

Spring

Eureka

BOOT

Data Flow

Stream

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;

Feing

Cloud

Azure