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.

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.
Using Spark context in a class contructor can cause serialization issues. Move the logic and variables to a member method to avoid some of these problems.
The goal is to remove log4j from all transitive dependencies in a Gradle project and replace it by slf4j and logback.
Step-by-step guide on how to remotely monitor Apache Cassandra in Docker container via JMX using cloud monitoring service Datadog.
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 […]
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 […]
So I have wasted (invested) a day or two just to find out how to publish a JAR using Gradle to a locally running Artifactory server. I used Gradle Artifactory plugin to do the publishing. I was lost in endless loop of including various versions of various plugins and executing all sorts of tasks. Yes, […]
Can you tell what’s the difference between the following two? If yes, then you’re great and you don’t need to read further. Version 1: val milkFuture = future { getMilk() } val flourFuture = future { getFlour() } for { milk <- milkFuture flour <- flourFuture } yield (milk + flour) Version 2: for { […]
I wrote a shell script to control Play framework applications packaged using built-in command dist. Applications packaged this way are zipped standalone distributions without any need to have Play framework installed on the machine that it’s supposed to run on. Everything needed is inside the package. Inside the zip, in the bin directory, there is […]
The best code coverage metric for Scala is statement coverage. Simple as that. It suits the typical programming style in Scala best. Scala is a chameleon and it can look like anything you wish, but very often more statements are written on a single line and conditional “if” statements are used rarely. In other words, […]