The central part of the KafkaProducer API is KafkaProducer class. The KafkaProducer class provides an option to connect a Kafka broker.
Will discuss details about debugging a local application, then will apply the same techniques for remote debugging.
Few times I was debugging an application and it was possible to reproduce a problem only using remote available data. I will explain how it is possible to solve this in a easy way. Possible applications are: remote Mysql/Elasticsearch service exposed to your machine, replacement of remote service with a local one that contains a […]
There are times when it’s necessary to follow a path in your application and logs related to that path are relevant, in this video I will explain how to use tail -f with grep in order to filter a continuous stream.
In this blog post I will describe required steps in order to build with Spring boot a fully executable application as a jar file, deploy over ssh, run it as a System V service using a custom user for this. I have generated a Spring Boot application using Initializr and configured the build.gradle script to […]
Few days ago I had a problem on one of the projects that I am working on, we observed that after a number of requests, ScriptEngine from Nashorn starts to work slower. Everything which I’m going to talk about is not a rocket science, there’s no clever and tricky tips, it’s just a straightforward explanation […]
Let’s imagine we need to know exchange rates in different cities, for this we are going to the Central Bank and are asking for an entity that can give us exchange rates for specific cities. Factory CentralBank will create or will give us instances of ExchangePlace based on the city name that are passing as […]