February 2019
Intermediate to advanced
444 pages
11h 36m
English
The Hello application implemented as an exercise for this chapter is very similar to the one we used in Chapter 4, Instrumentation Basics with OpenTracing. However, since we already have a lot of moving components with Kubernetes, I decided to simplify the setup and dropped the bigbrother service, so that we would not need to run a MySQL database. The bigbrother service was a bit creepy anyway: it knew too much personal information. Instead, I added some logic to the formatter service that gives a bit of conversation to the greeting when given the person's name:
@RestController public class FController { private final String template; public FController() { if (Boolean.getBoolean("professor")) { template = "Good news, %s! ...Read now
Unlock full access