Use of @Order annotation in Spring

By |2020-05-29T15:50:41+00:00May 29th, 2020|Categories: Spring Framework|Tags: , |

Introduction In this tutorial, we will learn about the @Order annotation in Spring. The @Order annotation in Spring defines the sorting order of beans or components. Before Spring 4.0, this annotation supported only the ordering of AspectJ aspects. Since Spring 4.0, it supports many kinds of components e.g. even for collection injection. 1. The @Order annotation in Spring Right from [Read More]

Getting started with Spring WebFlux

By |2020-07-10T06:18:25+00:00May 26th, 2020|Categories: Spring Framework|Tags: , |

Spring WebFlux is a reactive web framework, newly added to Spring 5.x. It is fully non-blocking, supports Reactive Streams back pressure, and runs on such servers as Netty, Undertow, and Servlet 3.1+ containers. The Spring WebFlux uses Project reactor underneath for reactive programming. 1. Why use Spring WebFlux? An obvious question is, why to use Spring WebFlux when we already [Read More]

Backpressure in Project reactor

By |2020-07-31T16:31:40+00:00May 24th, 2020|Categories: Java™|Tags: |

You will learn about Backpressure in the Project reactor. Backpressure is the ability of a Consumer to signal the Producer that the rate of emission is higher than what it can handle. So using this mechanism, the Consumer gets control over the speed at which data is emitted. If you are new to Project Reactor, read about the Flux in [Read More]

Introduction to the Kubernetes and its Architecture.

By |2020-05-20T04:57:33+00:00May 20th, 2020|Categories: Kubernetes|

Kubernetes is an open-source tool available for managing the different containers. Kubernetes helps with the automation work in containers such as the deployment of containers, scaling those containers, and descaling the containers. Also if you want to distribute the load then Kubernetes provides the functionality to apply the load balancer as well. 1. History of Kubernetes Kubernetes(k8s) is a Greek [Read More]

Transform and combine Reactive Stream

By |2020-07-31T16:28:03+00:00May 19th, 2020|Categories: Java™|Tags: |

In this article, you will learn to Transform and Combine Reactive Streams in Project reactive. Make sure you have a basic understanding of the Flux before proceeding with this article. We will use map for transforming a Flux, also merge and concat for combining multiple streams. 1. Transform a Flux using map We can use the map operator on a [Read More]

Add Newly Created Partitions Programmatically into AWS Athena schema

By |2021-07-11T17:05:56+00:00May 16th, 2020|Categories: Big Data|Tags: , |

Problem Statement Amazon Athena uses a managed Data Catalog to store information and schemas about the databases and tables that you create for your data stored in Amazon S3. In the case of tables partitioned on one or more columns, when new data is loaded in S3, the metadata store does not get updated with the new partitions. You need [Read More]

Flux in Project Reactor

By |2020-07-31T16:26:44+00:00May 15th, 2020|Categories: Java™|Tags: |

Introduction In this article, you will learn about Flux in Project Reactor which represents 0 to N (Zero to N) items. Flux is a Reactive Streams Publisher with Rx operators that emits 0 to N elements, and then completes (successfully or with an error). If it is known that the underlying Publisher will emit 0 or 1 element, you should [Read More]

Mono in Project Reactor

By |2020-07-31T16:23:19+00:00May 9th, 2020|Categories: Java™|Tags: |

Introduction In this article, you will learn about the Mono in project reactor which represents 0-1 (Zero or One) item. A Mono<T> is a Publisher (Producer) that emits at most one item and then terminates. It can terminate with an onComplete (for successful completion) or an onError (for any failure/error) signal. In the previous article (Getting started with Project Reactor), [Read More]

A Complete RxJS Tutorial – explanations with examples

By |2020-05-05T19:10:37+00:00May 5th, 2020|Categories: JavaScript, RxJS|Tags: , |

This is a complete RxJS tutorial with details explanations, code examples and a lot of references to further sharpen your skills. In this tutorial, you will learn the core concepts of reactive programming and how to achieve them in RxJS. Learning RxJS could be hard, especially to think in a reactive programming way. But, trust me it is worth learning. [Read More]

Getting started with Project Reactor

By |2020-05-09T17:19:43+00:00May 5th, 2020|Categories: Java™|Tags: |

In this tutorial, you will learn about Project Reactor used to create efficient Reactive systems. The project reactor is often simply referred to as Reactor. It is based on the Reactive Stream Specification which is implemented by Project reactor and RxJava. 1. What is Project Reactor? Technically, the Reactor is a fourth-generation reactive library, based on the Reactive Streamsspecification, for [Read More]

Go to Top