This is an automated email from the ASF dual-hosted git repository.

chenzlalvin pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
     new 566784243 Updated 03whatis.md
     new 1e617f209 Merge pull request #535 from 
PasunuriSrinidhi/new-official-website
566784243 is described below

commit 56678424345024527497d765fd48f4c40e5ce638
Author: Pasunuri Srinidhi <[email protected]>
AuthorDate: Sun Mar 26 15:59:52 2023 +0530

    Updated 03whatis.md
---
 .../current/01-introduction/03whatis.md                             | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/i18n/en/docusaurus-plugin-content-docs/current/01-introduction/03whatis.md 
b/i18n/en/docusaurus-plugin-content-docs/current/01-introduction/03whatis.md
index eefa8bdfe..d1e575c81 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/01-introduction/03whatis.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/01-introduction/03whatis.md
@@ -93,6 +93,12 @@ The main Apache RocketMQ components are Producers, 
Consumers, NameServers, and B
 
 A  producer serves as a data source that optimizes, writes, and publishes 
messages to one or more  topics. Producers load balance data among brokers 
through MessageQueue. It supports fail-fast and retries during sending messages.
 
+Producers can send messages in either synchronous or asynchronous mode. In 
synchronous mode, the producer waits for an acknowledgment from the broker 
before proceeding, while in asynchronous mode, the producer sends the message 
and continues with its operation without waiting for an acknowledgment.
+
+Producers can also specify a key for each message they send. The key is used 
by the broker to determine which partition within a topic the message should be 
stored in.
+
+Producers can also specify a callback function that will be invoked once the 
broker acknowledges receipt of the message. This allows the producer to handle 
any errors that may occur during message transmission.
+
 ### **Consumer**
 
 Consumers read data by reading messages from the topics to which they 
subscribe.

Reply via email to