Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud Batch

Cloud Batch

Deck for the Batch Processing Cloud Apps with Java

Rodrigo Graciano

October 07, 2022
Tweet

More Decks by Rodrigo Graciano

Other Decks in Programming

Transcript

  1. WHAT SPRING BATCH IS? Spring Batch is a lightweight, comprehensive

    batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems. https://docs.spring.io/spring-batch/docs/current/reference/html/index-single.html#spring-batch-intro
  2. WHAT SPRING BATCH IS NOT? Spring Batch is not a

    scheduler https://docs.spring.io/spring-batch/docs/current/reference/html/index-single.html#spring-batch-intro
  3. RODRIGO GRACIANO • Principal Software Engineer - NY • Líder

    do JUG de NY - NYJavaSIG • graciano.dev • Twitter: @rodrigograciano
  4. ELDER MORAES • Java Champion • Autor de diversos livros

    • Developer Advocate na Red Hat • Líder do SouJava • eldermoraes.com • Twitter: @elderjava
  5. TASKLETS • 1 time operation instead of read/write • Run

    a DB query • Copy Files • Zip/unzip files
  6. SHOW ME SOME CODE: BASIC DEMO This Photo by Unknown

    Author is licensed under CC BY-NC-ND
  7. • JobRepository • JobLauncher • JobRegistry • JobExplorer • PlatformTransactionManager

    • JobBuilderFactory • StepBuilderFactory @EnableBatchProcessing
  8. READERS • Database (JDBC, Mongo, Neo4j, Hibernate, etc.) • Flat

    Files (delimited, fixed-length) • XML, JSON • JMS, Kafka, Amqp • Multi-file
  9. WRITERS • Database (JDBC, Mongo, Neo4j, Hibernate, etc.) • Flat

    Files (delimited, fixed-length) • XML, JSON • JMS, Kafka, Amqp • Multi-file • Email