spring boot

Spring GCP BigQuery

Reading Time: 3 minutes BigQuery is Google’s fully managed, petabyte scale, low cost analytics data warehouse. It’s Serverless, highly scalable, and cost-effective multicloud data warehouse designed for business agility. BigQuery Benefits Gain insights with real-time and predictive analytics– Query streaming data in real time and get up-to-date information on all your business processes. Predict business outcomes easily with built-in machine learning–without the need to move data. Access data and Continue Reading

Intro to Spring AOP

Reading Time: 2 minutes The world is a stage where all of us are artists and Constant learning is the foundation of success.In order to continue your learning with something new, here were are going to learn about working with Spring AOP.Here we will look at what AOP is, and what features we have with AOP. Let’s start with the intro first. Spring AOP AOP stands for Aspect-Oriented ProgrammingSpring Continue Reading

Intro to Spring Reactor: Part 1

Reading Time: 2 minutes The world is a stage where all of us are artists and Constant learning is the foundation of success.In order to continue your learning with something new, here were are going to learn about Spring Reactor. Let’s start with the basics about what is Reactive Programming first. Reactive Programming It’s important to understand the difference between reactive programming and reactive systems. We use both these Continue Reading

Comparing Eureka vs. Consul.io

Reading Time: 2 minutes Overview: Hello everyone, let’s take an overview of this blog. In this blog, I will discuss how we can compare spring cloud gateway with eureka vs consul. Microservices is a newer architectural pattern for enterprise web service development. However, one of the greatest challenges with this sort of design is how to oversee the revelation of the web services. Moreover, based on this challenge, there are a few distinctive open-source alternatives. What is Eureka? Eureka Server is an application that holds the information Continue Reading

Spring Cloud Gateway with Actuator API

Reading Time: 2 minutes Actuator Actuator is a library which is provides many beneficial features and are production-ready to be utilised in our application. The main features of this library include monitoring of the application, collection of metrics, traffic flow or the status of the database.The actuator mainly works in exposing operational information about the running application. It uses HTTP endpoints or JMX beans to enable the interaction. Actuator Continue Reading

Spring Cloud API Gateway: Custom Predicate Factory

Reading Time: 2 minutes Overview: Hello everyone, In this blog, we will deep down into routing predicate factories. Firstly we will know about what is a routing predicate factory? In a nutshell, a Predicate in Spring Cloud Gateway is an object that tests if the given request fulfills a given condition. For each route, we can define one or more prepositions. If satisfied, we accept requests for configured backend Continue Reading

UAA Server setup locally for Spring Cloud Gateway

Reading Time: 3 minutes For authenticate the users, we need two things: user account records and an OAuth2 compatible authentication provider (server). There are many commercial OAuth2 authentication providers out there, but in this blog, I’m going to with open-source Cloud Foundry’s User Account & Authentication Server.Spring Cloud Gateway can forward OAuth2 access tokens to the services it is proxying. In addition to logging in the user and grabbing Continue Reading

Differences between Netflix zuul and Spring cloud gateway

Reading Time: 3 minutes Routing is an integral part of a microservice architecture. For example, `/` may be mapped to your web application, `/api/users` is mapped to the user service and `/api/shop` is mapped to the shop service.  Netflix Zuul Zuul is a JVM-based router and server-side load balancer from Netflix. It provides a single entry to our system, which allows a browser, mobile app, or other user interface to consume services from multiple hosts Continue Reading

Parameterized Tests In Junit

Reading Time: 2 minutes 1. Overview So Basically this feature enables us to execute a single test method multiple times with different parameters.In this blog i am going to explore parameterized Tests in depth ,so let’s get started 2. Dependencies In order to use Junit parameterized test first we need to add the dependencies for that if we have maven project then we need to add the maven dependencies for 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

Let’s get benefit of Spring security

Reading Time: 3 minutes Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications. It’s not only provide authentication it’s also provide authorization, to know authentication and authorization in details please go through this knoldus blog. In this blog we will see how we can secure a spring-boot application. how we can provide user defined password and how Continue Reading

Exploring Spring Boot :Beginners Level

Reading Time: 4 minutes What is Spring Boot Spring Boot is a project which is built on the top of the Spring Framework. it will provide us an easier and faster way to set up likewise configure. Similarly it runs both simple and web-based applications. Spring module provides the RAD (Rapid Application Development) feature.The Spring Framework is used to create a stand-alone Spring-based application.you can just run because it needs minimal Continue Reading

Testing Spring Embedded Kafka consumer and producer

Reading Time: 2 minutes This blog I’m talking about the Kafka testing without physical installation of Kafka services or docker container.For testing, I’m going to use another Spring library that is called spring-kafka-test. It provides much functionality to ease our job in the testing process and takes care of Kafka consumer or a producer works as expected. Maven Test Dependencies application.yml props file These are the minimum configuration for Continue Reading