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

aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/master by this push:
     new 16bc4a8c python: doc mistake fixed (#614)
16bc4a8c is described below

commit 16bc4a8c61717b038cfb4b17de00bd3969e91290
Author: Diwakar Gupta <39624018+diwakar-gu...@users.noreply.github.com>
AuthorDate: Fri Oct 6 13:31:42 2023 +0530

    python: doc mistake fixed (#614)
    
    * python: doc mistake fixed
    
    * Fix typo
    
    Signed-off-by: Aaron Ai <yangkun....@gmail.com>
    
    ---------
    
    Signed-off-by: Aaron Ai <yangkun....@gmail.com>
    Co-authored-by: Aaron Ai <yangkun....@gmail.com>
---
 cpp/proto/apache/rocketmq/v2/service.proto                        | 2 +-
 .../0.5.0-alpha/opencensus/stats/internal/stats_manager.h         | 2 +-
 docs/workflow.md                                                  | 2 +-
 php/grpc/Apache/Rocketmq/V2/AdminClient.php                       | 2 +-
 php/grpc/Apache/Rocketmq/V2/MessagingServiceClient.php            | 2 +-
 php/grpc/Apache/Rocketmq/V2/Publishing.php                        | 8 ++++----
 php/protocol/apache/rocketmq/v2/service.proto                     | 2 +-
 python/README.md                                                  | 2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/cpp/proto/apache/rocketmq/v2/service.proto 
b/cpp/proto/apache/rocketmq/v2/service.proto
index 16c0d527..715594e3 100644
--- a/cpp/proto/apache/rocketmq/v2/service.proto
+++ b/cpp/proto/apache/rocketmq/v2/service.proto
@@ -207,7 +207,7 @@ message Publishing {
   int32 max_body_size = 2;
 
   // When `validate_message_type` flag set `false`, no need to validate 
message's type
-  // with messageQueue's `accept_message_types` before publising.
+  // with messageQueue's `accept_message_types` before publishing.
   bool validate_message_type = 3;
 }
 
diff --git 
a/cpp/third_party/opencensus/0.5.0-alpha/opencensus/stats/internal/stats_manager.h
 
b/cpp/third_party/opencensus/0.5.0-alpha/opencensus/stats/internal/stats_manager.h
index 7ee3da01..2bd66761 100644
--- 
a/cpp/third_party/opencensus/0.5.0-alpha/opencensus/stats/internal/stats_manager.h
+++ 
b/cpp/third_party/opencensus/0.5.0-alpha/opencensus/stats/internal/stats_manager.h
@@ -92,7 +92,7 @@ class StatsManager final {
   void AddMeasure(Measure<MeasureT> measure) ABSL_LOCKS_EXCLUDED(mu_);
 
   // Returns a handle that can be used to retrieve data for 'descriptor' (which
-  // may point to a new or re-used ViewInformation).
+  // may point to a new or reused ViewInformation).
   ViewInformation* AddConsumer(const ViewDescriptor& descriptor)
       ABSL_LOCKS_EXCLUDED(mu_);
 
diff --git a/docs/workflow.md b/docs/workflow.md
index 23cef13f..c8d77909 100644
--- a/docs/workflow.md
+++ b/docs/workflow.md
@@ -42,7 +42,7 @@ The publishing procedure is as follows:
 1. Check if topic route is cached before or not.
 2. If topic route is not cached, then try to fetch it from server, otherwise 
go to step 4.
 3. Return failure and end the current process if topic route is failed to 
fetch, otherwise cache the topic route and go to the next step.
-4. Select writable candicate message queues from topic route to publish 
meessage.
+4. Select writable candicate message queues from topic route to publish 
message.
 5. Return failure and end the current process if the type of message queue is 
not matched with message type.
 6. Attempt to publish message.
 7. Return success and end the current process if message is published 
successfully.
diff --git a/php/grpc/Apache/Rocketmq/V2/AdminClient.php 
b/php/grpc/Apache/Rocketmq/V2/AdminClient.php
index 88dfeea0..48866e2a 100644
--- a/php/grpc/Apache/Rocketmq/V2/AdminClient.php
+++ b/php/grpc/Apache/Rocketmq/V2/AdminClient.php
@@ -26,7 +26,7 @@ class AdminClient extends \Grpc\BaseStub {
     /**
      * @param string $hostname hostname
      * @param array $opts channel options
-     * @param \Grpc\Channel $channel (optional) re-use channel object
+     * @param \Grpc\Channel $channel (optional) reuse channel object
      */
     public function __construct($hostname, $opts, $channel = null) {
         parent::__construct($hostname, $opts, $channel);
diff --git a/php/grpc/Apache/Rocketmq/V2/MessagingServiceClient.php 
b/php/grpc/Apache/Rocketmq/V2/MessagingServiceClient.php
index 884d038f..af63796f 100644
--- a/php/grpc/Apache/Rocketmq/V2/MessagingServiceClient.php
+++ b/php/grpc/Apache/Rocketmq/V2/MessagingServiceClient.php
@@ -36,7 +36,7 @@ class MessagingServiceClient extends \Grpc\BaseStub {
     /**
      * @param string $hostname hostname
      * @param array $opts channel options
-     * @param \Grpc\Channel $channel (optional) re-use channel object
+     * @param \Grpc\Channel $channel (optional) reuse channel object
      */
     public function __construct($hostname, $opts, $channel = null) {
         parent::__construct($hostname, $opts, $channel);
diff --git a/php/grpc/Apache/Rocketmq/V2/Publishing.php 
b/php/grpc/Apache/Rocketmq/V2/Publishing.php
index b4271f13..f0a71f18 100644
--- a/php/grpc/Apache/Rocketmq/V2/Publishing.php
+++ b/php/grpc/Apache/Rocketmq/V2/Publishing.php
@@ -31,7 +31,7 @@ class Publishing extends \Google\Protobuf\Internal\Message
     protected $max_body_size = 0;
     /**
      * When `validate_message_type` flag set `false`, no need to validate 
message's type
-     * with messageQueue's `accept_message_types` before publising.
+     * with messageQueue's `accept_message_types` before publishing.
      *
      * Generated from protobuf field <code>bool validate_message_type = 
3;</code>
      */
@@ -53,7 +53,7 @@ class Publishing extends \Google\Protobuf\Internal\Message
      *           client-side check validation.
      *     @type bool $validate_message_type
      *           When `validate_message_type` flag set `false`, no need to 
validate message's type
-     *           with messageQueue's `accept_message_types` before publising.
+     *           with messageQueue's `accept_message_types` before publishing.
      * }
      */
     public function __construct($data = NULL) {
@@ -123,7 +123,7 @@ class Publishing extends \Google\Protobuf\Internal\Message
 
     /**
      * When `validate_message_type` flag set `false`, no need to validate 
message's type
-     * with messageQueue's `accept_message_types` before publising.
+     * with messageQueue's `accept_message_types` before publishing.
      *
      * Generated from protobuf field <code>bool validate_message_type = 
3;</code>
      * @return bool
@@ -135,7 +135,7 @@ class Publishing extends \Google\Protobuf\Internal\Message
 
     /**
      * When `validate_message_type` flag set `false`, no need to validate 
message's type
-     * with messageQueue's `accept_message_types` before publising.
+     * with messageQueue's `accept_message_types` before publishing.
      *
      * Generated from protobuf field <code>bool validate_message_type = 
3;</code>
      * @param bool $var
diff --git a/php/protocol/apache/rocketmq/v2/service.proto 
b/php/protocol/apache/rocketmq/v2/service.proto
index 16c0d527..715594e3 100644
--- a/php/protocol/apache/rocketmq/v2/service.proto
+++ b/php/protocol/apache/rocketmq/v2/service.proto
@@ -207,7 +207,7 @@ message Publishing {
   int32 max_body_size = 2;
 
   // When `validate_message_type` flag set `false`, no need to validate 
message's type
-  // with messageQueue's `accept_message_types` before publising.
+  // with messageQueue's `accept_message_types` before publishing.
   bool validate_message_type = 3;
 }
 
diff --git a/python/README.md b/python/README.md
index 256548ee..431fd439 100644
--- a/python/README.md
+++ b/python/README.md
@@ -6,7 +6,7 @@ English | [简体中文](README-CN.md) | [RocketMQ 
Website](https://rocketmq.apa
 
 Here is the Python implementation of the client for [Apache 
RocketMQ](https://rocketmq.apache.org/). Different from the [remoting-based 
client](https://github.com/apache/rocketmq/tree/develop/client), the current 
implementation is based on separating architecture for computing and storage, 
which is the more recommended way to access the RocketMQ service.
 
-Here are some preparations you may need to know (or refer to 
[here](https://rocketmq.apache.org/docs/quickStart/02quickstart/https://rocketmq.apache.org/docs/quickStart/02quickstart/)).
+Here are some preparations you may need to know (or refer to 
[here](https://rocketmq.apache.org/docs/quickStart/02quickstart/)).
 
 1. Python 3.7 is the minimum version required, Python 3.10 is the recommended 
version.
 2. Setup namesrv, broker, and 
[proxy](https://github.com/apache/rocketmq/tree/develop/proxy).

Reply via email to