Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

iamwarning/mail-delivery-service-with-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail Delivery Service with Apache Kafka

Prerequisites

Usage

Create a network so that there is communication between services.

	$ docker network create mail-delivery-network

Running local mail delivery service.

 $ docker-compose up -d

Stop and remove mail delivery service.

 $ docker-compose down

Project structure

|   .gitignore
|   docker-compose.yml
|   Dockerfile
|   HELP.md
|   mvnw
|   mvnw.cmd
|   pom.xml
|   README.md
|
+---.mvn
|   \---wrapper
|           maven-wrapper.jar
|           maven-wrapper.properties
|           MavenWrapperDownloader.java
|           
+---src
|   +---main
|   |   +---java
|   |   |   \---io
|   |   |       \---jorgel
|   |   |           \---sendemail
|   |   |               |   SendEmailApplication.java
|   |   |               |   ServletInitializer.java
|   |   |               |   
|   |   |               +---config
|   |   |               |       KafkaConsumerConfig.java
|   |   |               |       TemplateConfig.java
|   |   |               |       
|   |   |               +---models
|   |   |               |       Email.java
|   |   |               |       
|   |   |               \---services
|   |   |                   |   ConsumerService.java
|   |   |                   |   EmailSenderService.java
|   |   |                   |   
|   |   |                   \---impl
|   |   |                           EmailSenderServiceImpl.java
|   |   |                           
|   |   \---resources
|   |       |   application.yml
|   |       |   
|   |       +---static
|   |       \---templates
|   |               confirmation.html
|   |               
|   \---test
|       \---java
|           \---io
|               \---jorgel
|                   \---sendemail
|                           SendEmailApplicationTests.java
|