Author: KRISHNA JAISWAL

Apache Beam Core Transforms

Reading Time: 6 minutes Introduction Transform in Apache Beam are the operations in your pipeline, and provide a generic processing framework. You provide processing logic in the form of a function object (colloquially referred to as “user code”), and your user code is applied to each element of an input PCollection (or more than one PCollection). Core Beam transforms Beam provides the following core transforms, each of which represents a different processing Continue Reading

background

Introduction to the Spring Data JDBC

Reading Time: 4 minutes Introduction Spring Data JDBC, part of the larger Spring Data family, makes it easy to implement JDBC based repositories. It is a persistence framework that is not as complex as Spring Data JPA. It doesn’t provide cache, lazy loading, write-behind, or many other features of JPA. Nevertheless, it has its own ORM and provides most of the features we’re used with Spring Data JPA like mapped Continue Reading

grayscale photo of computer laptop near white notebook and ceramic mug on table

Entity To DTO Conversion for Spring REST API

Reading Time: 4 minutes Introduction In most enterprise architecture, you will have REST APIs. A consumer of these APIs sends a request and the server responds with a response. The transformation of request to response happens behind the API. You perform business logic and modify these objects. Traditionally, there are three layers in the architecture. Web layer, business layer, and database layer. So, your object in the database layer Continue Reading

Introduction to Apache Beam

Reading Time: 4 minutes Introduction Apache Beam (Batch + strEAM) is a unified programming model for batch and streaming data processing jobs. It provides a software development kit to define and construct data processing pipelines as well as runners to execute them. Apache Beam is designed to provide a portable programming layer. In fact, the Beam Pipeline Runners translate the data processing pipeline into the API compatible with the backend of Continue Reading

Introduction to the Spring Cloud Netflix – Eureka

Reading Time: 5 minutes Introduction In this blog, we’ll introduce client-side service discovery via “Spring Cloud Netflix Eureka.” Client-side service discovery allows services to find and communicate with each other without hard-coding the hostname and port. The only ‘fixed point’ in such an architecture is the service registry, with which each service has to register. One drawback is that all clients must implement a certain logic to interact with this fixed point. This assumes an Continue Reading

Setting Up Swagger 2 with Spring REST API

Reading Time: 4 minutes Introduction In this article, we’ll dive into the Swagger framework . We’ll use Swagger2 to design, build, and document a Spring Boot RESTful API and Swagger UI to observe our endpoints and test them. Nowadays, front-end and back-end components often separate a web application. Usually, we expose APIs as a back-end component for the front-end component or third-party app integrations. In such a scenario, it is essential to have proper specifications for Continue Reading

Microservices Architecture

Reading Time: 4 minutes Introduction If you want to design an application that is multilanguage, easily scalable, easy to maintain and deploy, highly available, and that minimizes failures, then use the microservices architecture to design and deploy a cloud application. In a microservices architecture, each microservice owns a simple task, and communicates with the clients or with other microservices by using lightweight communication mechanisms such as REST API requests. Continue Reading

Functional Programming in Java

Reading Time: 7 minutes What Is Functional Programming In functional programming, functions are treated a first-class citizens , meaning that they can be bound to names (including local Identifiers), passed as arguments and returned from other functions, just as any other data type can. This allows java programs to be written in a declarative and composable style, where small functions are combined in a modular manner. Functional programming is sometimes treated as synonymous with purely functional programming. It is a Continue Reading

Spring Reactor

Reading Time: 6 minutes In this blog, we’ll get introduced to the Spring Reactor project and its importance. The idea is to take advantage of the Reactive Streams Specification to build non-blocking reactive applications on the JVM. Using this knowledge, we’ll build a simple reactive application and compare it to a traditional blocking application. Reactive applications are the “hot new thing” making a lot of applications switch to this model. You can read 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 Set With Examples

Reading Time: 3 minutes In Java , Set is defined as a collection of unordered elements . In this duplicate values cannot be stored . The Java Set interface extends the Collection interface . All the methods in the Collection Interface are available in Set interface . It can be implemented by HashSet, LinkedHashSet or TreeSet . Creating Set object Set Methods 1) ADD This is used to add elements to the Continue Reading