Spring: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
 
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 5: Linha 5:
*https://www.baeldung.com/spring-cloud-netflix-eureka
*https://www.baeldung.com/spring-cloud-netflix-eureka
==BOOT==
==BOOT==
*[https://docs.spring.io/spring-boot/docs/2.1.3.RELEASE/reference/htmlsingle/ Spring Boot Documentation]
*[https://spring.io/projects/spring-boot Spring Boot Documentation]
 
==Data Flow==
==Data Flow==
*[https://dataflow.spring.io/getting-started/ Getting started]
*[https://dataflow.spring.io/getting-started/ Getting started]
Linha 63: Linha 64:
delete from TASK_EXECUTION;
delete from TASK_EXECUTION;
</syntaxhighlight>
</syntaxhighlight>
==MAVEN==
RUN
<pre>
spring-boot:run
</pre>
=Template=
*[https://www.thymeleaf.org/documentation.html ThymeLeaf]


=[https://github.com/OpenFeign/feign Feing]=
=[https://github.com/OpenFeign/feign Feing]=

Edição atual tal como às 13h43min de 24 de janeiro de 2023

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;

MAVEN

RUN

spring-boot:run

Template

Feing

Cloud

Azure