Java

Set-up Kafka Cluster On GCP

Reading Time: 4 minutes In this article, we are going to create Kafka Clusters on the GCP platform. We can do it in various ways like uploading Kafka directory to GCP, creating multiple zookeepers, by creating multiple copies of the server.properties file, etc. But, In this article, we are doing it in a simpler way i.e. by Creating a Kafka Cluster (with replication). Let’s Start… What is GCP?  GCP Continue Reading

Fault tolerance and Resiliency in Apache Kafka.

Reading Time: 5 minutes Kafka is known for it’s performance with resiliency & fault tolerance. In this article we’ll see how to make some changes in configuration to achieve fault tolerance and resilience for better architectural need. before starting the article, we need to have basic knowledge of Kafka or we can go through the Document. Apache Kafka is a distributed system, and the term fault tolerance is very Continue Reading

JavaFX

JavaFX - Overview with Hands-on

Reading Time: 8 minutes 1. Overview JavaFX is a Java library used to build Rich Internet Applications (RIA). It provides a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms. JavaFX provides a rich graphical user interface. JavaFX has the structure and APIs specifically for animation, 2D and 3D geometry, charts, special effects, Continue Reading

Circuit Breaker in microservices : Istio

Reading Time: 4 minutes Hey guys,Today we’ll find out what circuit breakers are, why you should be using them in any distributed system or microservices architecture along with Istio. Why Circuit Breaker? We’ve got a series of microservices here that don’t have to be microservices ( in Kubernetes these will be pods, services, etc ). They’re going to be connected together in some way, a cascading failure is where Continue Reading

Understanding Java enums

Java 8 Features With Examples

Reading Time: 3 minutes In this blog, we will learn about the java 8 features and why java 8 is so much popular. After java 8 Java has started supporting the functional style of programming with its Java 8 release. The basic idea of why java enables functional programming is concise the code, less complex, easy to understand, and easy to testing compare to legacy coding styles. Here are Continue Reading

https://quarkus.io/

Quarkus | Supersonic Subatomic Java

Reading Time: 4 minutes Introduction In this Digital-first era, technologies are evolving faster. It helps technologists to develop and deploy faster, more performance-oriented, efficient, and lower memory consumption applications.Quarkus is one such initiative from RedHat. It is designed and developed by RedHat, keeping cloud-native, serverless, and containerized applications future in mind. As per RedHat definition: “Quarkus is a full-stack, Kubernetes-native Java framework made for Java virtual machines (JVMs) and Continue Reading

Java in Machine Learning

Reading Time: 2 minutes Overview Machine Learning(ML) projects can be done in Java but there are some reasons why Java is not as popular as Python. Java is not the preferred first choice of Data Scientists and Machine Learning engineers for creating ML models. Java is mainly used in large data processing and engineering parts of a typical ML life cycle. The processed and engineered data is used by Continue Reading

Rx Java Basics

Reading Time: 3 minutes Overview RxJava is a JVM implementation of Reactive Extensions and a reactive programming implementation based on event driven and asynchronous programs. It works on the principles of observables and observer patterns. RxJava is lightweight and implemented as a single JAR on the observable abstraction and related higher-order functions. (For those who are new to Reactive Programming and have less familiarity with it. Reactive programming is Continue Reading

Optional Class in java 8

Reading Time: 2 minutes In this blog, we will understand what is the optional class and do we really need it? When you start writing the code in any project and one thing you always care that is the Null pointer exception and we apply many checks to prevent this error and try that error Never come in our code. that’s why we want something so that we can Continue Reading

Functional Interfaces in Java 8

Reading Time: 4 minutes Introduction Functional interface is an interface that consists of one abstract method. These interface can show only one functionality. Beyond Java 8, lambda expressions can be used to represent the instance of a functional interface. Functional Interfaces can contain any number of default methods. Consumer, Predicate, Function, Unary Operator, Binary Operator are some of the examples of predefined functional interfaces. Points to remember which are Continue Reading

Lambda Expression in Java 8

Reading Time: 3 minutes In this blog we will understand what is the lambda expression and why we need lambda expression and how we use lambda and about the functional interface. What is Lambda Expression : It is an anonymous function. Not having name No return type and no modifiers. Syntax of Lambda : The syntax of a lambda consists of the following: A comma-separated list of formal parameters Continue Reading

Introduction to Java Stream API

Reading Time: 3 minutes Hi friends in this blog we are going to cover streams, parallel streams and some of the popular function associated with them with example. Introduction Streams are wrappers around data source, which make data processing in bulk easier and fast. A stream is not a data structure i.e. it does not store data. Stream is defined in java.util.stream package. Different ways to create Streams 1) Continue Reading

Factory design Pattern

Reading Time: 2 minutes Hi guys, I hope you are doing good. In this blog, we will be talking about one of the creational design patterns which is Factory Pattern. The creational design patterns are concerned with the way in which objects are created. In factory design patterns, we basically define an interface or abstract class for creating an object but objects creation decisions like for which class client Continue Reading