From Imperative Java -> Functional Part 1
In this series of articles, we will explore functional programming principles and apply them to transform a RESTful platform written in Java and Spring Boot using FP concepts and structures.
In this series of articles, we will explore functional programming principles and apply them to transform a RESTful platform written in Java and Spring Boot using FP concepts and structures.
In this article we are going to demonstrate how to detect kafka consumer lag accurately across any of the partitions of a topic and determine if a kafka consumer is stuck and therefore we should take protective measures.
During software engineering there is often a need to handle tasks that run in the background and might fail. Using CompletableFuture helps with running tasks asynchronously, and Try from the FunctionalUtils library helps manage errors in a functional way. But...
In this article we will explain what is the token bucket algorithm, when is it used and how to implement it using Scala and making use of the library cats and specifically the IO monad.
In this article I am going to demonstrate how to convert imperative, mutable code written in Java into functional style to achieve immutability, type safety, clear error handling and maintainability in a step by step guide.