Kafka is a distributed system for publish-subscribe. It is meant for high throughputs and the distribution of thousands of messages/second. It can be similar to AWS SNS, which has the same publish-subscribe distributed system. However, it is entirely different from Amazon SQS, which works on the principle of queuing.