In this tutorial, we will show you how to install and set Apache Kafka on a VPS running Ubuntu 18.04. Install Apache Kafka on an Ubuntu 18.04 VPSKafka or Apache Kafka is a distributed messaging system based on the principle of the pub-sub (publish-subscribe) model. It allows us to publish and subscribe to a stream of records that can be categorized. It is an incredibly fast, highly scalable, fault-tolerant system, and it’s designed to process large amounts of data in real time. Apache Kafka can be used as an alternative to a message broker as well, which allows us to process/transform a stream of records. Kafka can be used as a messaging system but in a rather incomparably huge scale. Overall, Apache Kafka is a very powerful tool when used correctly.