Better Programming

Advice for programmers.

Follow publication

Member-only story

A Comprehensive Guide to Building an Event-Driven Application with Kotlin, Kafka, and DynamoDB

billydharmawan
Better Programming
Published in
12 min readMar 2, 2020
Photo by Manuel Nägeli on Unsplash

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:

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

billydharmawan
billydharmawan

Written by billydharmawan

An ordinary man trying to leave a good legacy on earth

Write a response