Why use message queue as chat server? Chatting is not done using message queues. The push server can of course use kafka as a message queue. The message queue has nothing to do with the terminal status, right
Kafka is designed mainly for information collection and has high throughput, but the premise of its high throughput is that it uses sequential writing on the disk. It is not suitable for chat queues. If you use it for chat, each session must have a topic. However, establishing a topic in Kafka is a relatively heavy operation, and too many topics will greatly affect performance. It is better to use amqp queue for chatting.
Just use traditional mq
Why use message queue as chat server? Chatting is not done using message queues. The push server can of course use kafka as a message queue. The message queue has nothing to do with the terminal status, right
Kafka is designed mainly for information collection and has high throughput, but the premise of its high throughput is that it uses sequential writing on the disk. It is not suitable for chat queues. If you use it for chat, each session must have a topic. However, establishing a topic in Kafka is a relatively heavy operation, and too many topics will greatly affect performance. It is better to use amqp queue for chatting.