'Spring Batch and Kafka

I am a junior programmer in banking. I want to make a microservice system that get data from kafka and processes it. after that, save to database and send final data to client app. What technology can i use? I plan to use spring bacth and kafka. Can the technology be implemented in my project or is there a better alternative?



Solution 1:[1]

To process data from a Kafka topic I recommend you to use Kafka Streams API, especially Spring Kafka Streams.

And to store the data in a database, you should use a Kafka Sink Connector.

This approach is very common and easy if your company has a Kafka ecosystem.

enter image description here

Solution 2:[2]

In terms of alternatives, here you will find an interesting comparison: https://scramjet.org/blog/welcome-to-the-family 3 in 1 serverless

Scramjet takes a slightly different approach - 3 platforms in one. Both the free product https://hub.scramjet.org/ for installation on your server and the cloud platform are available - currently also free in the beta version https://scramjet.org/#join-beta

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Felipe Tapia
Solution 2 Lester Kozlowski