In this blog post I want to show how to create a “Hello World” streaming example using Spring Cloud Data Flow which simplifies the development and deployment of applications focused on data processing use-cases. Spring Cloud Data Flow originates from Spring XD which was a standalone project to build distributed data pipelines for real-time and batch processing.
Starting with Spring Data Ingalls release publishing domain events by aggregate roots becomes easier. Instead of leveraging Spring’s
ApplicationEventPublisher you can use
@DomainEvents annotation on a method of your aggregate root.
Let’s look at an example.
The talks which I attended with further links:
In a previous post we saw what steps we needed to do in order to configure a service running on multiple EC2 instances to use CloudWatch Logs as a centralized logging tool. In this post we will use Boxfuse to deploy our cloudwatch-logs-demo app and configure logging leveraging again CloudWatch Logs.
$ git clone https://github.com/altfatter/boxfuse-demo $ cd boxfuse-demo $ mvn clean package
In this blog post we will see how we can leverage Amazon CloudWatch Logs for centralized logging in Amazon AWS environment. A demo application is provided to see things in action. The plan is the following:
- deploy the application on an EC2 instance
- configure logging to send the log events to CloudWatch Logs service
- launch multiple ec2 instances running the demo application
- browse logs from multiple EC2 instances
In this blog post we are going to build a simple Spring Boot app which will expose instance metadata information when running on an AWS EC2 instance. We are going to use Spring Cloud AWS which eases the integration with AWS.
A giant Spring application context created from multiple maven modules can have some challenges. Recently I encountered one at one of my clients. I thought I will describe it with a simple example which you can find on my github account.
I have created a sample repository where I experiment how to setup dockerized microservices with different datastores.
In this blog post I will go through the sample using
Spring AMQP in version 1.6 introduced the
AsyncRabbitTemplate which allows the caller of the send and receive operations (sendAndReceive, convertSendAndReceive) not to block. The caller instead gets a handle to the computation in progress in the form of a
ListenableFuture or can handle the result in a callback via
In this blog post I am looking into dead letter queue configuration with RabbitMQ. A message from a queue can be ‘dead-lettered’ when one the following things occur:
In this blog post I am looking into Spring Cloud Config project which is a great tool for centralized configuration management in a microservice environment. I have prepared a simple example project which you can find on my github account. It contains a
config-service leveraging Spring Cloud Config Server and three little services using Spring Cloud Config Client.
In this blog post I would like to show you that the recently introduced Docker Native application (currently in private beta) makes it possible to configure a docker container with outside container storage without any workarounds on Mac or Windows, similarly how it works on Linux.
In this post I am looking into the awesome application event support provided by Spring Framework,
which starting from version 4.2 got even better by introducing an annotation model to consume events, the possibility to publish any object as event not forcing to extend from
Recently I had to consume a SOAP web service over HTTPS using client certificate authentication. I thought I will write a blog post about it describing my findings. For the example I will build a simple service which exposes team information about the UEFA EURO 2016 football championship. The service will be secured with client certificate authentication and accessible only over HTTPS.
In this post I am looking into Spring Boot 1.4.0.RC1 version trying out the new features and enhancements. Spring Boot 1.4.0.RC1 upgrades to Spring 4.3.1.RELEASE and Hibernate 5.0.9 versions.
In this post I describe how to evolve a database schema using Flyway. I will create a simple service which manages athletes using postgresql as datastore.
In this post I describe how to deploy a simple dockerized Spring Boot service to AWS. The example service provides a RESTful API to manage schools and leverages mongodb for storage.