Author: Prashant Sharma

Reactive java combining Mono(s)

Reactive Java: combining Mono(s)

Reading Time: 4 minutes Reactive programming has been a good to go approach with the microservices architecture. Here we will see how it can be achieved using spring web flux MONO Api and what could go wrong if we do not consider the basics of the reactive environment.

Passing query parameters through your WebClient

Reading Time: 5 minutes We can use spring-boot:webflux’s WebClient to invoke a third-party service from within our spring boot application. This is asynchronous and reactive method supplied by spring for invoking of unmanaged services. We also saw how we can pass query params when invoking a 3rd party service and which case to chose with our requirements. Be cautious with what you are using and always document what you want and what you created so that things like these can be caught early during the development phase.

Microservices and the Saga Pattern

Reading Time: 10 minutes Microservices have become a crucial part of any enterprise these days, no matter if it is a big or a small enterprise. When something this big is present in the market why not see some fundamentals of the same? So here we’ll go through the concepts like what is a microservice and Saga Patterns that an ideal microservice should have.

Custom ErrorHandlers and Lagom

Reading Time: 3 minutes Hello everyone, it’s been quite a while now since I started working on Lagom(java) and it was only recently when I came across a scenario wherein I was required to override the ErrorHandler provided by Play in my Lagom microservice. As you all already know that Lagom is built on top of Play and Akka, so there will be times when we’ll be required to Continue Reading

Fault Handling in Apigee

Reading Time: 4 minutes Hi all, In my previous blogs on APIGEE we: Went through the basic introduction of Apigee. Went through the main policies and how to apply them on our proxies. Saw how to extract out a header, extract a list of values out of a header. If you like you can go through those once again here: Basics of Apigee. click here Playing with Policies. click here Extract the Continue Reading

Get Rid of the Boilerplate in JAVA with Annotations @Lombok

Reading Time: 4 minutes Hi all, we have been programming in Java for quite a while now and came across various scenarios such as those concerning the lines of code, redundant code boilerplate or programming style like moving from imperative style of coding to functional style etc., Java is quite verbose and will require a developer to often write significantly more code for the same task than the other Continue Reading

Getting started with Couchbase-Java

Reading Time: 4 minutes Hello everyone, In this blog, we will understand how to use the couchbase server with the Java SDK. Couchbase is not a new term in the market, its there since 2012 January. Couchbase-server is an open-source, distributed multi-model NoSQL document-oriented database software package that is optimized for interactive applications. These applications may serve many concurrent users by creating, storing, retrieving, aggregating, manipulating and presenting data. In support of these kinds of application Continue Reading

Apigee – Extract The Header’s Content

Reading Time: 2 minutes Hello everyone, in my previous blog we saw how various Policies in Apigee make our life easy and our API faster and valuable. We saw Response Cache, Extract Variable and Spike Arrest policy in action. If you want to go through the basics of Apigee or want to brush up your understanding of the Apigee policies you can visit: Basic Of APIGEE and Understanding the Policies Recently while Continue Reading

APIGEE-EDGE: Playing With The Policies(Part1).

Reading Time: 7 minutes   Hi all, In one of my previous blogs, I discussed Apigee, what it is and why is it required? We also discussed the various features and benefits of having Apigee. We saw how to deploy a proxy through the code rather than the Apigee UI deployment feature and many more. So if you like you can go through the basics of Apigee here Getting started Continue Reading

“Feature Flags and LaunchDarkly”- what, why and how?

Reading Time: 7 minutes In this blog, I am going to discuss: Feature-Flags. How to start working with Feature Flags. LaunchDarkly. Optimizing Feature-Flag full potential and power with LaunchDarkly. So let’s start with an overview of what a feature flag is and its uses. 1). Feature-Flags. (a) Introduction: Feature-Flags is a software development best practice of gating functionality. Functionality can be turned on/off via the feature flags, separate from deployment. Feature Continue Reading

Getting started with “APIGEE-EDGE”

Reading Time: 5 minutes Hi readers, in this blog I am going to discuss how to start using “Apigee-Edge”. What is Apigee-Edge? Apigee-Edge is an API management platform which can be hosted on the Cloud or on the premises of a company and that enables companies to secure, scale, manage, and analyze their digital business, and grow API programs to meet the increase in demand. Why Apigee-Edge? Any application can Continue Reading