Spring

Trigger a Spring Batch job with a JMS message

September 29, 2017

Creating a batch-driven solution is pretty easy with Spring Batch. There is an excellent getting started guide on spring.io website, which explains the basics and provides example code how to start a batch job on application startup. However, batch jobs are typically executed as a result of an event. In this blog post, we are going to look how to trigger a Spring Batch job with a JMS message.

Read more

Spring microservices monitoring: /metrics endpoint and ELK, Part II: Improvements

June 29, 2017

As we saw in the first part of this series, it is essential necessary to monitor the health of our microservices, and to improve the tool we developed which helps us get metrics and forward them to an Elasticsearch instance. In this chapter we will pursue the question of how can we improve the processing of the result of the metrics endpoint?

Read more

Import Relational Database Data to Elasticsearch with Spring Batch (Part 1)

January 5, 2017

Recently I had a customer project that required transferring large amounts of data from a relational database to the NoSQL database that is Elasticsearch in order to take advantage of its famous fast searching capabilities. Elasticsearch is part of the ELK stack that is released and maintained by Elastic.co. The abbreviation ELK stand for Elasticsearch, Logstash, and Kibana.

Read more
Older posts