[Java Concurrency] Threads communication
Java provides mechanisms for threads to communicate with each other when working on common resources. This post gives you a concrete example of threads communication.
Java provides mechanisms for threads to communicate with each other when working on common resources. This post gives you a concrete example of threads communication.
Recently I worked on Spring RestTemplate and the Asynchronous feature of the Spring framework. Thus, I need to create some sample APIs for the application. I tried a few searches but couldn’t find one so I created one and packaged/pushed to docker hub. Now, you have a Docker image that provides some API endpoints which … Read more
There are plenty of Apache Kafka Tutorials on the internet. Why another one? While other tutorials are valuable, I see that improvement can be made. As a visual learner (yes, it’s a thing), I prefer tutorials with many videos and images. Thus I created this one to help you quickly get started with Apache Kafa, … Read more
Are you struggling to add swagger to spring boot? This post will show you how to quickly add the api docs page in 1 minute.
Declaring variables in Scala is quite simple. The language offers some very nice mechanisms to let developers declare variables with ease.
Scala offers various mechanisms for controlling code flow. Let’s explore them here. If/Else/then Imagine you are building a charging station for electric vehicles. The station accepts only electric vehicles and they must have a battery capacity greater than 11Kwh. The following code demonstrates this scenario: Of course, in production code, you can simplify the function … Read more