Get the code
By Animesh Singh, Anthony Amanse | Last updated October 11, 2018
No application is an island. Today, developers are adopting integrated microservices and cloud-native microservices architectures. But with current application architectures, microservices need to co-exist in polyglot environments. In this code pattern, you learn how to deploy a Java microservices application that runs alongside other polyglot microservices, using service discovery, registration, and routing.
In a polyglot world, microservices need to be deployed together and can’t simply rely on language native frameworks for service discovery, routing, and other tasks. This pattern shows you how to deploy a Java-based microservices application called “GameOn!” within a polyglot ecosystem.
The application is a throwback text-based adventure game built to help you explore microservice architectures and related concepts. The app runs on a Kubernetes cluster and has two types of microservices: core and platform. The core microservices are written in Java and use polyglot services for support. With this kind of pattern, microservices either use sidecars as processes inside the same microservice container or use separate container sidecars to leverage platform services for service discovery, registration, and routing. All of the microservices run in Docker containers managed by a Kubernetes cluster.
Ready to put this code pattern to use? Complete details on how to get started running and using this application are in the README.md file.
September 24, 2018
October 8, 2018
Back to top