Websocket with Socket.IO Java

Socket.IO has 2 main Java implementations Socket.IO Java and Netty-socketio. Netty-socketio only implements Socket.IO 2.x and Socket.IO Java implements the latest version of Socket.IO. Therefore, if you want to implement a Websocket server with Socket.IO using Java, please use the version of Socket.IO Java! In… Read More

Sealed class in Java

In Java, to prevent the inheritance of a certain class, we will use the final keyword to declare that class. Examples are as follows:

Class Test will not be able to inherit JavaExample class because this JavaExample class is declared with final: A need… Read More

Introduction to Socket.IO

Socket.IO is a library that makes us possible to implement a 2-way communication channel between client and server with low latency based on events. We can use Socket.IO to implement a WebSocket server. Originally Socket.IO was written in JavaScript but some other languages are also… Read More

Basic concepts in Apache Kafka

To work with Apache Kafka, you need to understand some basic concepts about: Producer Consumer Broker Cluster Topic Topic Partitions Partition Offset Consumer Group Producer Producers are applications that produce data and send data to Apache Kafka Server. This data will be formatted messages, sent… Read More