Spring: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(Criou página com '=Spring= *[https://github.com/spring-cloud Spring Cloud] *[https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html Appendix A. Common...') |
|||
Linha 47: | Linha 47: | ||
*[https://github.com/spring-cloud/spring-cloud-dataflow-samples/blob/master/src/main/asciidoc/javadsl/main.adoc Deploying a stream programmaticaly] | *[https://github.com/spring-cloud/spring-cloud-dataflow-samples/blob/master/src/main/asciidoc/javadsl/main.adoc Deploying a stream programmaticaly] | ||
*[https://github.com/spring-cloud-stream-app-starters/python/tree/master/spring-cloud-starter-stream-processor-python-http Python Http Processor] | *[https://github.com/spring-cloud-stream-app-starters/python/tree/master/spring-cloud-starter-stream-processor-python-http Python Http Processor] | ||
===Tasks=== | |||
Properties | |||
<pre> | |||
scheduler.kubernetes.entryPointStyle=<Entry Point Style> exec/shell/boot | |||
scheduler.kubernetes.environmentVariables=JAVA_TOOL_OPTIONS=-Xmx1024m | |||
scheduler.kubernetes.imagePullSecret=mysecret | |||
scheduler.kubernetes.entryPointStyle=exec | |||
</pre> | |||
==SHELL== | ==SHELL== |
Edição das 13h49min de 31 de maio 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
apiVersion: v1
kind: Service
metadata:
name: internal-app
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: internal-app
SHELL
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
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