How to get started developing Camel microservices (or any Java technology for that matter) on a local Kubernetes cluster from zero to deployment.
As a Java developer it may be daunting to know how to get started how to develop container applications that runs on Kubernetes cluster.
Using minikube its very easy to run a local cluster and with the help of fabric8 tooling its even easier to install and run using familiar tools like Maven. In this talk we will build a set of Apache Camel and Java based Microservices that uses Spring Boot and WildFly Swarm. With the help of fabric8 maven tooling you will see how to build, deploy, and run your Java projects on a Kubernetes cluster (local or remote). And even live debugging is easy to do as well.
We will discuss practices how to build distributed and fault tolerant microservices using technologies such as Kubernetes Services, Netflix Hysterix, and Camel EIP patterns for fault tolerance. In the talk you will also hear about related open source projects where you can go explore more such as fabric8, openshift.io, istio, etc. This presentation is a 50/50 mix between slides and demo.
6. Camel vs F1
Camel
2017
F1
2017
Lap Distance 5.3 km 5.3 km
Best Lap Time 23m36s 1m26s
Total Laps 5 57
Total Distance 26 km 307 km
Total Time 2h3m 1h24m
7. Claus Ibsen
• Senior Principal Software
Engineer at Red Hat
• Apache Camel
8½ years working with Camel
• Author of
Camel in Action books
@davsclaus
davsclaus
www.davsclaus.com
cibsen@redhat.com
33. Our Demo
Client Hello Service
http://localhost:8080
from timer
to http4
log
from undertow
transform
helloservice
34. Static vs Dynamic Platform
Client Hello Service
from timer
to http4
log
from undertow
transform
helloservice
Hardcoded
hostname and port
http://localhost:8080
55. Error Handling
• Client Side Retry
service ip:port
from timer
to http4
log
pod
from undertow
transform
helloservice
pod
service ip:port
service ip:port
service ip:port