Skip to content

Micro-service spring batch application that can send large number of emails for e-commerce application. Consumes data from SQL database sends confirmation emails and updates the database record.

Notifications You must be signed in to change notification settings

mamin11/batch_email_sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batch_email_sender

Spring batch application that sends email to customers whose orders have been processed ie where status = 1

Job

  • Reader
    • read all records from orders table where status = 1
    • chunk size 100
  • processor
    • send confirmation email
  • writer
    • update email_sent column

API

  • launch job from API

Database

Dummy database can be found in test_database directory

order_id first_name last_name email ... status
1 Doro Odda [email protected] ... 1

About

Micro-service spring batch application that can send large number of emails for e-commerce application. Consumes data from SQL database sends confirmation emails and updates the database record.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages