Event Driven Hello World Program
Event-driven microservices can be straightforward to describe before they are implemented, tested and maintained. They are also highly responsive to new information in real-time, with latencies in Java of below 10 microseconds 99.99% of the time, depending on the functionality of the small, independently deployable microservice. In this introductory article, we use an example event-driven Hello World program ( a programming paradigm where the program flow is determined by events) to step through behaviour-driven development , where we describe the behaviour the business needs first as test data and write a very simple microservice which turns input events like this. say: Hello World Into outputs like this, by adding an exclamation point say: Hello World ! # <- adds an exclamation point All the code for this example is available on GitHub . When modelling Event-Driven systems, a useful pattern is to have event-driven core systems with gateways connecting to externa