Updated on 2022-12-05 GMT+08:00

RocketMQ Concepts

Topic

A topic is a category of messages. It is the basic unit for creating and retrieving messages.

Queue

A topic consists of multiple queues. A larger number of queues indicates higher retrieval concurrency.

Producer

A producer sends messages to the server.

Consumer

A consumer obtains messages from the server.

Consumer Group

A consumer group contains consumers that have similar retrieval behavior.

Broker

Brokers are a cluster of ECSs that process services. A broker consists of one master and two slaves.

NameServer

A lightweight registry that stores metadata. Before producing or consuming messages, producers and consumers must obtain metadata from a NameServer.