# Product Architecture

UKafka service mainly contains the following components:

> 1. Message Topic (Topic)
> 2. Message Producer (Producer)
> 3. Message Consumer (Consumer)
> 4. Message Broker (Broker)

The structure is shown in the diagram:

<!-- image-todo -->

| Terms      | Meaning        | Description                                                                                                   |
|------------|----------------|---------------------------------------------------------------------------------------------------------------|
| Topic      | Message Topic  | A specific message stream or class message queue. In which, the message is valid bytes, and the topic is the category or marked source of the message |
| Producer   | Message Producer | Any service or system that can publish any message                                                          |
| Consumer   | Message Consumer | Subscribers to single or multiple messages, and recipient or handler of published message data from Broker. |
| Broker     | Message Node    | A group of servers that can store messages, that is, service nodes in the UKafka cluster.                   |
| Partition  | Message Partition | The partition of Topic, which can distribute a message topic to multiple Brokers, to achieve distributed service and high availability.  |