In the previous article I have described the approach that can be used to work with streams when you use Scala.
Let’s suppose that you have faced the task where you already have one or two streams and have to combine them into a completely another stream or connect and enrich initial streams by data from a third stream (in fact quite a common task with trading data for instance).
Of course, you can do it with Scala and Akka easily. However, if you are limited to Java language only (because code should be supported by the others, Java is…
Over the last couple of years, I’ve been working with several CI/CD servers like TeamCity and Jenkins. I find these products quite powerful because of their ability to run distributed builds (even now, 3 months later, Jenkins in Kubernetes amazes me :) ), high level of integration with different build systems and thesupport of a variety of programming languages, not mention of their flexible authentication/authorization systems.
However, when I work with my pet projects, I want some subset of features from Jenkins. Am I ready for any hosting or cloud Jenkins solution — NO! So, after I’ve got the next…
I suppose everyone has heard a lot about streaming in Akka — about its importance and the possible areas of application: banking transactions, IoT, exchange trading and in general any area with fast-changing / fast-generating data or events.
Last year I had a chance to work for a short time in a company that uses Akka Streams a lot in production. Some microservices looked like this:
A lot of different streams flowing in different directions, mixing and creating new streams. Everything implemented in Scala with untyped Actors and Akka-Http. Effective and intimidating :)