Spring: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(→Azure) |
|||
(12 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:// | *[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/docs/ DOCS] | |||
*[https://cloud.spring.io/spring-cloud-dataflow/ Spring Cloud Data Flow] | *[https://cloud.spring.io/spring-cloud-dataflow/ Spring Cloud Data Flow] | ||
*[https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/ Spring Cloud Data Flow Reference Guide] | *[https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/ Spring Cloud Data Flow Reference Guide] | ||
Linha 13: | Linha 16: | ||
**[https://github.com/spring-cloud/spring-cloud-dataflow Spring Cloud Data Flow ] | **[https://github.com/spring-cloud/spring-cloud-dataflow Spring Cloud Data Flow ] | ||
**[https://github.com/spring-cloud/spring-cloud-dataflow-samples Spring Cloud Data Flow Samples] | **[https://github.com/spring-cloud/spring-cloud-dataflow-samples Spring Cloud Data Flow Samples] | ||
Cloud Stream | *[https://github.com/spring-cloud-stream-app-starters Spring Cloud Stream App Starters ] | ||
Stream | |||
*[https://cloud.spring.io/spring-cloud-static/spring-cloud-stream/current/reference/html/ Spring Cloud Stream Reference Documentation] | |||
*[https://www.baeldung.com/spring-cloud-data-flow-stream-processing Getting Started with Stream Processing with Spring Cloud Data Flow] | |||
*[https://docs.spring.io/spring-cloud-dataflow-samples/docs/current/reference/htmlsingle/ Spring Cloud Data Flow Samples] | |||
*[https://dataflow.spring.io/docs/stream-developer-guides/getting-started/stream/ Getting Started with Stream Processing] | |||
*[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] | ||
Linha 54: | 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://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 atual tal como às 13h43min de 24 de janeiro de 2023
Spring
Eureka
BOOT
Data Flow
- Getting started
- DOCS
- Spring Cloud Data Flow
- Spring Cloud Data Flow Reference Guide
- Orchestrating Data Microservices with Spring Cloud Data Flow
- GIT
- Spring Cloud Stream App Starters
Stream
- Spring Cloud Stream Reference Documentation
- Getting Started with Stream Processing with Spring Cloud Data Flow
- Spring Cloud Data Flow Samples
- Getting Started with Stream Processing
- Spring Cloud Stream App Starters
- OLD REPO, Spring Cloud Stream App Starters
Tasks
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;
MAVEN
RUN
spring-boot:run
Template
Feing
- Feign: Resilience and scalability for your rest clients
- Intro to Feign
- Declarative REST Client: Feign
- Introduction to Spring Cloud OpenFeign
- Spring Cloud OpenFeign
- Spring Cloud Feign - Declarative REST Client - Youtube
- Spring Cloud Feign - Declarative REST Client - GitHub