Skip to content

PDF-Editor is the microservice project generate pdf file and send to user by email. It contains three main mirco services namely,user service to register and manage users, document service to generate pdf file, and email service to send email to user. Use Kafka to send messages between services and config server to manage properties.

Notifications You must be signed in to change notification settings

tswlun002/pdf-editor

Repository files navigation

pdf-editor

Edit pdf files with functions like merge, remove pages

Configure Kafka Brokers

Check brokers Partition count , Replicas and Isr

docker exec --interactive --tty pdfKafkaBroker1 kafka-topics --bootstrap-server pdfKafkaBroker1:19092 --describe --topic download-document-event

Setting up min.insync.replica

docker exec --interactive --tty pdfKafkaBroker1 \
kafka-configs  --bootstrap-server pdfKafkaBroker1:19092 --entity-type topics --entity-name  download-document-event \
--alter --add-config min.insync.replicas=2

Refresh end-point after update app properties

When app run on cloud domain

 http://pdf-editor/8071/monitor

App runs on localhost

Update user service

 http://localhost:8080/actuator/refresh 

Update email service

 http://localhost:8083/actuator/refresh 

Update document service

 http://localhost:8082/actuator/refresh 

About

PDF-Editor is the microservice project generate pdf file and send to user by email. It contains three main mirco services namely,user service to register and manage users, document service to generate pdf file, and email service to send email to user. Use Kafka to send messages between services and config server to manage properties.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published