Giter VIP home page Giter VIP logo

cloud-native-batch's Introduction

  • Configure the Spring Cloud Config Server with an application.properties or application.yml in batch-job/src/main/resources with the following properties configured:
    • spring.datasource.driverClassName
    • spring.datasource.url
    • spring.datasource.username
    • spring.datasource.password
    • spring.datasource.schema - this should point to the schema-mysql.sql in the same directory
    • job.resource-path - this should be the S3 bucket
    • cloud.aws.credentials.accessKey
    • cloud.aws.credentials.secretKey
    • cloud.aws.region.static - the region the S3 bucket exists in
    • cloud.aws.region.auto - this should be false unless you are running this on AWS
  • Launch the Config server & eureka via spring cloud configserver eureka
  • Build the project from the root via ./mvnw clean install
  • Launch Skipper via:
java -jar bin/spring-cloud-skipper-server-2.0.0.RELEASE.jar \
    --spring.datasource.url=jdbc:mysql://localhost:3306/cloud_native_batch \
    --spring.datasource.username=root \
    --spring.datasource.password=p@ssw0rd \
    --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
  • Launch Spring Cloud Data Flow (SCDF) via:
java -jar bin/spring-cloud-dataflow-server-2.0.1.RELEASE.jar \
    --spring.datasource.url=jdbc:mysql://localhost:3306/cloud_native_batch \
    --spring.datasource.username=root \
    --spring.datasource.password=p@ssw0rd \
    --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
  • Launch Spring Cloud Data Flow Shell via java -jar bin/spring-cloud-dataflow-shell-2.0.1.RELEASE.jar
  • Register the app with SCDF in the shell via app register --name S3JDBC --type task --uri "maven://io.spring.cloud-native-batch:batch-job:0.0.1-SNAPSHOT"
  • Launch the UI from http://localhost:9393/dashboard
  • Launch the task via the UI
  • Verify results via the query select * from cloud_native_batch.foo; assuming your schema is called cloud_native_batch

cloud-native-batch's People

Contributors

mminella avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.