跟我学RocketMq --- 概念

Concepts
This section describes the core concepts of Apache RocketMQ.

Topic
A topic is a top-level container that is used in Apache RocketMQ to transfer and store messages that belong to the same business logic.Learn more Topic.

MessageType
Categories defined by message transfer characteristics for type management and security verification. Apache RocketMQ support NORMAL,FIFO,TRANSACTION and DELAY message type.

INFO
Starting from version 5.0, Apache RocketMQ supports enforcing the validation of message types, that is, each topic only allows messages of a single type to be sent. This can better facilitate operation and management of production systems and avoid confusion. However, to ensure backward compatibility with version 4.x, the validation feature is enable by default.

MessageQueue
MessageQueue is a container that is used to store and transmit messages in Apache RocketMQ. MessageQueue is the smallest unit of storage for Apache RocketMQ messages. Learn more MessageQueue.

Message
A message is the smallest unit of data transmission in Apache RocketMQ. A producer encapsulates the load and extended attributes of business data into messages and sends the messages to a Apache RocketMQ broker. Then, the broker delivers the messages to the consumer based on the relevant semantics. Learn moreMessage.

MessageView
MessageView is read-only interface to message from a development perspective. The message view allows you to read multiple properties and payload information inside a message, but you cannot make any changes to the message itself.

MessageTag
MessageTag is a fine-grained message classification property that allows message to be subdivided below the topic level. Consumers implement message filtering by subscribing to specific tags. Learn more MessageFilter.

MessageOffset
Messages are stored in the queue in order of precedence, each message has a unique coordinate of type Long in the queue, which is defined as the message site. Learn more Consumer progress management。

ConsumerOffset
A message is not removed from the queue immediately after it has been consumed by a consumer, Apache RocketMQ will record the last consumed message based on each consumer group. Learn more Consumer progress management.

MessageKey
MessageKey is The message-oriented index property. By setting the message index, you can quickly find the corresponding message content.

Producer
A producer in Apache RocketMQ is a functional messaging entity that creates messages and sends them to the server. A producer is typically integrated on the business system and serves to encapsulate data as messages in Apache RocketMQ and send the messages to the server. Learn more Producer。

TransactionChecker
Apache RocketMQ uses a transaction messaging mechanism that requires a producer to implement a transaction checker to ensure eventual consistency of transactions. Learn moreTransaction Message。

ConsumerGroup
A consumer group is a load balancing group that contains consumers that use the same consumption behaviors in Apache RocketMQ. Learn more ConsumerGroup。

Consumer
A consumer is an entity that receives and processes messages in Apache RocketMQ. Consumers are usually integrated in business systems. They obtain messages from Apache RocketMQ brokers and convert the messages into information that can be perceived and processed by business logic. Learn more Consumer。

Subscription
A subscription is the rule and status settings for consumers to obtain and process messages in Apache RocketMQ. Subscriptions are dynamically registered by consumer groups with brokers. Messages are then matched and consumed based on the filter rules defined by subscriptions. Learn more Subscription。

概念
本节描述Apache RocketMQ的核心概念。

主题
主题是Apache RocketMQ中用于传输和存储属于相同业务逻辑的消息的顶级容器。了解更多主题。

MessageType
由消息传输特征定义的类别,用于类型管理和安全验证。Apache RocketMQ支持NORMAL,FIFO,TRANSACTION和DELAY消息类型。

信息
从5.0版本开始,Apache RocketMQ支持强制消息类型的验证,也就是说,每个主题只允许发送单一类型的消息。这样可以更好的方便生产系统的操作和管理,避免混乱。但是,为了确保与版本4的向后兼容性。默认情况下,验证特性是启用的。

MessageQueue
MessageQueue是一个用于在Apache RocketMQ中存储和传输消息的容器。MessageQueue是Apache RocketMQ消息的最小存储单元。了解更多messagqueue。

消息
消息是Apache RocketMQ中最小的数据传输单元。生产者将业务数据的负载和扩展属性封装到消息中,并将消息发送给Apache RocketMQ代理。然后,代理根据相关语义将消息传递给消费者。moreMessage学习。

MessageView
从开发的角度来看,MessageView是消息的只读接口。消息视图允许您读取消息中的多个属性和有效负载信息,但不能对消息本身进行任何更改。

MessageTag
MessageTag是一个细粒度的消息分类属性,允许在主题级别以下对消息进行细分。消费者通过订阅特定的标签来实现消息过滤。了解更多MessageFilter。

MessageOffset
消息按优先级顺序存储在队列中,每个消息在队列中具有唯一的Long类型坐标,该坐标定义为消息站点。了解更多消费者进度管理。

ConsumerOffset
消息在被消费者消费后不会立即从队列中删除,Apache RocketMQ将根据每个消费者组记录最后消费的消息。了解更多消费者进度管理。

MessageKey
MessageKey是面向消息的索引属性。通过设置消息索引,可以快速找到对应的消息内容。

生产商
Apache RocketMQ中的生产者是一个功能性消息传递实体,它创建消息并将其发送到服务器。生产者通常集成在业务系统上,用于将数据封装为Apache RocketMQ中的消息,并将消息发送到服务器。了解更多制作人。

TransactionChecker
Apache RocketMQ使用事务消息传递机制,该机制要求生产者实现事务检查器,以确保事务的最终一致性。了解更多交易信息。

ConsumerGroup
消费者组是一个负载平衡组,它包含在Apache RocketMQ中使用相同消费行为的消费者。了解更多ConsumerGroup。

消费者
消费者是在Apache RocketMQ中接收和处理消息的实体。消费者通常集成在业务系统中。它们从Apache RocketMQ代理获取消息,并将消息转换为可被业务逻辑感知和处理的信息。了解更多消费者。

订阅
订阅是消费者在Apache RocketMQ中获取和处理消息的规则和状态设置。订阅由消费者组向代理动态注册。然后根据订阅定义的筛选规则匹配和使用消息。了解更多订阅信息。

  • 18
    点赞
  • 22
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值