Skip to content

This repository about implementing Kafka stream in microservices architecture java spring boot

Notifications You must be signed in to change notification settings

okanyesil/Apache-kafka-spring-boot-python-angular-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache kafka spring boot python angular example

This repository has two project FrontEnd(Angular) and BackEnd(Java, Python)

Project Structure

tasarım

If you new in Apache kafka you can bootstrap it quickly using Confluent's image: link

Let's talk about backend firstly

I have 5 services in my backend this are

  • Payment Service
  • Customer Service
  • Order Service
  • Product Service
  • Stock Service

Payment Service

This service is responsible for connecting to Iyzico server and getting payment. There was a problem with the java package so I used python instead. The service is listening to Apache Kafka topic whose name is t_stock runs on 9092 port. If the payment gets. The service redirects the user Success Page otherwise throw an error

iyzico

başarılı

Customer Service

This service is responsible for authenticating users and registering user

Order Service

This service is responble for listening to Kafka payment_event topic. If the payment is successful this service creates Order in OrderDB

Product Service

This service is responsible comminicate with UI-service. The service returns products and filters them.

Stock Service

This service work with Product service and Order Service before user buy. this service control wanted product in the stock.

Secondly frontend Section

Frontend is writen with Angular If you want to run it. run npm install then ng serve Make sure you have Node.js and Angular CLI

ui

ui2

About

This repository about implementing Kafka stream in microservices architecture java spring boot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published