Introducing the ReactiveInflux: non-blocking InfluxDB driver for Scala and Java supporting Apache Spark

The first release of ReactiveInflux developed at Pygmalios – a non-blocking driver for both Scala and Java featuring immutability, testability and extensibility. Comming with a support for Apache Spark it is the weapon of choice.

Exclude log4j to use slf4j with logback in a Gradle project

The goal is to remove log4j from all transitive dependencies in a Gradle project and replace it by slf4j and logback.

Remote Monitoring of Apache Cassandra running in Docker via JMX using Datadog

Step-by-step guide on how to remotely monitor Apache Cassandra in Docker container via JMX using cloud monitoring service Datadog.

Integration testing with Gradle

Unit testing works automatically using Gradle, but if you would like to have a separate set of integration tests you need to do a small exercise. Actually they don’t have to be integration tests at all. This guide shows you how to configure Gradle to use any kind of tests and run them independently from […]

Build and release Scala/Java Gradle project in GitLab using Jenkins to Artifactory

I am going to show in detail how to regularly build your project and then how to make a release build. It involves cooperation of a number of tools which I found tricky to set up properly, that’s why I wrote this. The goal I am about to show you how to achieve two following […]

Await without waiting

Scala has recently introduced async and await features. It allows to write clean and easy-to-understand code for cases where otherwise complex composition of futures would be needed. The same thing already exists in C# for quite a while. But I always had a feeling that I don’t really know how does it work. I tried […]

With a little help from our friends

“How many bugs have your unit tests found? And why they didn’t find the one that’s currently killing our production? See? This proves that unit testing doesn’t work. It’s just a waste of money. My money.” said the boss. Of course not my boss. That’s actually a pretty valid point. How to prove that unit […]

The Rule of Failed Integration Build

What to do if an integration build fails? By failing I mean either there is a compilation error or an automated test fails. The general rule in most of the teams that I worked with is that this situation should be treated with the highest priority. The developer who has caused this problem is responsible […]

Sustainable Automated Testing

Have you ever had a feeling that automated testing is becoming overhead for the project? That the effort to keep them green seems to be higher than the added value? Then maybe what you do is integration testing and not unit testing. Unit testing over integration testing I had the following discussion last week: “Do you […]

Reflection Against OOP Principles

What is so cool about the possibility to access private class members from outside using reflection? Everyone keeps asking you during job interviews what are the basic rules of object oriented programming. This is a mandatory knowledge to pass at least the first round. Encapsulation is one of them. Of course, of course. When you finally get […]