Member-only story
A Comprehensive Guide to Building an Event-Driven Application with Kotlin, Kafka, and DynamoDB
Build your own event-driven application
Introduction
An event-driven application is an application that listens and reacts to some form of events or actions. These events or actions can come from users or from other applications. For instance, an event may be a user closing his or her account, a service that modifies incoming data and outputs the result, and so on.
Essentially, an event is anything that results in a change of state. A change of state is caused by a producer and then published to a topic or queue in some form of a message. On the other hand, there will be a consumer (or consumers) that subscribes to the topic or queue and consumes or processes the messages.
In short, the components of an event-driven application are: producer, topic, and consumer.
As a supplement to this, you can check out the following tutorials: