java

Spring Cloud Gateway Route Predicate Factories

Reading Time: 3 minutes Reverse Proxy The reverse proxy is a server used in communication between the external clients and the internal applications. With the help of reverse proxy the flow of the traffic between the clients and server become smooth and more efficient. Example of reverse proxy nginx. The main use of a reverse proxy server are : Load-Balancing Web Acceleration Security & Anonymity API Gateway The API Continue Reading

Apache calcite : How to produced physical(Optimised) tree.

Reading Time: 3 minutes In this blog we are going to see how we can create the physical(Optimised) tree for a given query with the help of Apache calcite. What is Apache Calcite Apache Calcite is a dynamic data management framework with SQL parser, optimiser, executor, and JDBC driver. How Apache Calcite work Suppose We have one table and now we need to perform a SQL Query. but the problem is Continue Reading

Getting Started with Spring Cloud Gateway

Reading Time: 3 minutes Introduction First of all, we will know what is “Spring Cloud Gateway”. Spring Cloud Gateway provides a library for building API gateways on top of Spring and Java. API gateway is the single entry point to multiple microservices. On the other hand, we can understand that any external system can not access all other microservices directly. It can access through only one common entry to Continue Reading

The Apigee Edge – Intelligent API Platform

Reading Time: 3 minutes In this blog, we will try to explore how we can create a proxy on Apigee edge. So, let’s get started. What is Apigee Edge You can use Apigee Edge to create API proxies, build HTTP-based RESTful APIs easily, configure API policies as needed to control traffic and error handling,.and document those APIs along the way. Now let’s have an overview of a proxy, as Continue Reading

Deep Dive into Hadoop Map Reduce Part -2

Reading Time: 8 minutes Prerequisite: Hadoop Basic and understanding of Deep Dive in Hadoop Map reduce Part -1 Blog. MapReduce Tutorial: Introduction In this MapReduce Tutorial blog, I am going to introduce you to MapReduce, which is one of the core building blocks of processing in the Hadoop framework. Before moving ahead, I would suggest you to get familiar with HDFS concepts which I have covered in my previous HDFS tutorial blog. Continue Reading

Understanding Java enums

Functional Java CodeStyle [Part: 3]

Reading Time: 3 minutes The world is a stage where all of us are artists and constant learning is the foundation of success. So, to improve ourselves here we are going to know more about coding style in which we will look deep into Tools in Java. We will see why it is important and how to achieve that. As in the previous blog, we saw clean coding basic Continue Reading

Understanding Java enums

Functional Java CodeStyle [Part: 2]

Reading Time: 5 minutes The world is a stage where all of us are artists and constant learning is the foundation of success. So, to improve ourselves here we are going to know more about coding style in which we will look deep into SOLID principles in Java. We will see why it is important and how to achieve that. As in the previous blog, we saw several code Continue Reading

Introduction To Apache Kafka

Reading Time: 6 minutes Introduction Apache Kafka is a framework implementation of a software bus using stream-processing . It is an open source platform, developed by the Apache Software Foundation. It is written in Scala and Java. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds. Kafka can connect to external systems (for data import/export) via Kafka Connect and provides Kafka Streams, a Java stream processing library. Apache Continue Reading

Java 11 features

Reading Time: 3 minutes Oracle released Java 11 in September 2018, only 6 months after its predecessor, version 10, and java 11 Oracle JDK would no longer be free for commercial use. In this blog, we’ll explore new features of Java 11:- Open JDK After java 10 there’s no free long-term support (LTS) from Oracle. Thankfully, Oracle continues to provide Open JDK releases, which we can download and use without charge. Continue Reading

Kafka Kerberos Authentication

Reading Time: 2 minutes In this article we will start looking into Kerberos authentication and will focus on the client-side configuration required to authenticate with clusters configured to use Kerberos. Kafka supports four different communication protocols between Consumers, Producers, and Brokers. Each protocol considers different security aspects, while PLAINTEXT is the old insecure communication protocol. PLAINTEXT (non-authenticated, non-encrypted) SSL (SSL authentication, encrypted) PLAINTEXT+SASL (authentication, non-encrypted) SSL+SASL (encrypted authentication, encrypted Continue Reading

Log4j CVE-2021-45105: All we know is WRONG!!

Reading Time: 3 minutes Apache security team disclosed a third Log4j2 vulnerability the night between Dec 17 and 18 by the Apache security team. This vulnerability is termed CVE-2021-45105. According to the security advisory, 2.16.0, which fixed the two previous vulnerabilities, is susceptible to a DoS attack caused by a Stack-Overflow in Context Lookups in the configuration file’s layout patterns. What is this CVE about? What can you do Continue Reading

Abstract Factory Design Pattern and its Uses

Reading Time: 3 minutes An abstract factory design pattern is one of the constructive patterns. The Abstract Factory pattern works around a super-factory that creates other factories. A factory pattern or factory method pattern says that simply “define an interface or abstract class to create the object, but let the subclass decide which class to instantiate“. Benefit of Abstract Factory Pattern The Abstract Factory Pattern permits the sub-classes to Continue Reading

Build your first web application in Spring-boot

Reading Time: 2 minutes Spring and Spring Boot:Spring Framework could be a Java platform that has comprehensive infrastructure supportfor developing Java applications. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. If you use Gradle, add the following dependency to your build.gradle file: If you use Maven, add the following dependency to your pom.xml file:https://mvnrepository.com/artifact/org.springframework.boot/spring-boot Now run the service with curl (in a separate terminal Continue Reading