Simple messaging framework using Go TCP server and Kafka
I needed to create a simple framework to provide my endpoint devices ( doesn’t matter which platform they run on ) the option to send and receive messages from my backend. I require those messages to be managed by a message broker so that they can be processed in an asynchronous way. The system contains 4 main layers, this article section is mainly about the first one: 1. TCP servers - Needs to maintain as many TCP sockets in synch with the endpoints as possible.