Develop reactive Endpoints with Quarkus

In this blog post I want to point out that I just created a 12 min YouTube video related to the great Hands-on workshop: Reactive Endpoints with Quarkus on OpenShift. In this video you can watch and follow the steps of the exercise 2 “Develop reactive Endpoints”. Niklas wrote a great blog post about the topic of that exercise. This is the name and link of his blog post Developing reactive REST APIs with Quarkus.

Let me give you a short preview of the exercise 2 “Develop reactive Endpoints”.

In that exercise we will start to implement our own My Web-API Microservice. The image below contains a simplified architecture overview of the sample Microservices application and points to a simplified class diagram of the six classes, which will be implemented during the next two exercises.

reactive-exercise-4-01

In exercise 4  we will use the Java functionality CompletionStage and CompletableFuture for the asynchronous implementations of the reactive endpoint.

The gif below shows the relevant flow (a bit simplified) for the Endpoint implementation. I use a sequence diagram and code in a combination for an easier understanding.

diagram-animation


I hope this was useful for you and let’s see what’s next?

Greetings,

Thomas

PS:  You can try out Cloud Foundry Apps or Kubernetes on IBM Cloud. By the way, you can use the IBM Cloud for free, if you simply create an IBM Lite account. Here you only need an e-mail address.

#IBMDeveloper, #IBMCloud, #OpenShift, #Java #reactive #CompletionStage #CompletableFuture

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: