You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/10/13 02:45:07 UTC
[incubator-eventmesh] branch master updated: [Doc] Update the eventmesh keywords.
This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new b1a3c512 [Doc] Update the eventmesh keywords.
new a0d96255 Merge pull request #1521 from liuzhuang2017/fix-event
b1a3c512 is described below
commit b1a3c512ab03b2a5376ea5c13a07b0bdb1407822
Author: liuzhuang2017 <ju...@outlook.com>
AuthorDate: Tue Oct 11 22:20:14 2022 +0800
[Doc] Update the eventmesh keywords.
---
docs/en/contribute/03-new-contributor-guidelines.md | 2 +-
docs/en/design-document/02-runtime-protocol.md | 2 +-
docs/zh/contribute/03-new-contributor-guidelines.md | 2 +-
.../core/protocol/tcp/client/rebalance/EventmeshRebalanceImpl.java | 4 ++--
eventmesh-sdk-go/grpc/client.go | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/en/contribute/03-new-contributor-guidelines.md b/docs/en/contribute/03-new-contributor-guidelines.md
index 8c63375c..f1ceba98 100644
--- a/docs/en/contribute/03-new-contributor-guidelines.md
+++ b/docs/en/contribute/03-new-contributor-guidelines.md
@@ -78,7 +78,7 @@ So fork the original EventMesh repository into your own repository.
### Documentation Improvement
-- You can find the eventmesh documentation at [evenmesh-docs](https://github.com/apache/incubator-eventmesh/tree/master/docs), and the documentation is supplemented or improved in a way that is also essential for eventmesh.
+- You can find the eventmesh documentation at [eventmesh-docs](https://github.com/apache/incubator-eventmesh/tree/master/docs), and the documentation is supplemented or improved in a way that is also essential for eventmesh.
## Contribution method
diff --git a/docs/en/design-document/02-runtime-protocol.md b/docs/en/design-document/02-runtime-protocol.md
index 1583e2fd..b992bf89 100644
--- a/docs/en/design-document/02-runtime-protocol.md
+++ b/docs/en/design-document/02-runtime-protocol.md
@@ -246,7 +246,7 @@ The request header of the Send Async message is identical to the request header
### Protobuf
-The `eventmesh-protocol-gprc` module contains the [protobuf definition file](https://github.com/apache/incubator-eventmesh/blob/master/eventmesh-protocol-plugin/eventmesh-protocol-grpc/src/main/proto/eventmesh-client.proto) of the Evenmesh client. The `gradle build` command generates the gRPC codes, which are located in `/build/generated/source/proto/main`. The generated gRPC codes are used in `eventmesh-sdk-java` module.
+The `eventmesh-protocol-gprc` module contains the [protobuf definition file](https://github.com/apache/incubator-eventmesh/blob/master/eventmesh-protocol-plugin/eventmesh-protocol-grpc/src/main/proto/eventmesh-client.proto) of the Eventmesh client. The `gradle build` command generates the gRPC codes, which are located in `/build/generated/source/proto/main`. The generated gRPC codes are used in `eventmesh-sdk-java` module.
### Data Model
diff --git a/docs/zh/contribute/03-new-contributor-guidelines.md b/docs/zh/contribute/03-new-contributor-guidelines.md
index 8c63375c..f1ceba98 100644
--- a/docs/zh/contribute/03-new-contributor-guidelines.md
+++ b/docs/zh/contribute/03-new-contributor-guidelines.md
@@ -78,7 +78,7 @@ So fork the original EventMesh repository into your own repository.
### Documentation Improvement
-- You can find the eventmesh documentation at [evenmesh-docs](https://github.com/apache/incubator-eventmesh/tree/master/docs), and the documentation is supplemented or improved in a way that is also essential for eventmesh.
+- You can find the eventmesh documentation at [eventmesh-docs](https://github.com/apache/incubator-eventmesh/tree/master/docs), and the documentation is supplemented or improved in a way that is also essential for eventmesh.
## Contribution method
diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/rebalance/EventmeshRebalanceImpl.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/rebalance/EventmeshRebalanceImpl.java
index ad787f8e..df6d2ff9 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/rebalance/EventmeshRebalanceImpl.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/rebalance/EventmeshRebalanceImpl.java
@@ -180,10 +180,10 @@ public class EventmeshRebalanceImpl implements EventMeshRebalanceStrategy {
private List<String> selectRedirectEventMesh(String group, Map<String, String> eventMeshMap,
Map<String, Integer> clientDistributionMap, int judge,
- String evenMeshName) throws Exception {
+ String eventMeshName) throws Exception {
EventMeshRecommendStrategy eventMeshRecommendStrategy = new EventMeshRecommendImpl(eventMeshTCPServer);
return eventMeshRecommendStrategy.calculateRedirectRecommendEventMesh(eventMeshMap, clientDistributionMap,
- group, judge, evenMeshName);
+ group, judge, eventMeshName);
}
public int caculateRedirectNum(String eventMeshName, String group, String purpose,
diff --git a/eventmesh-sdk-go/grpc/client.go b/eventmesh-sdk-go/grpc/client.go
index d77373e0..8f7cf8fb 100644
--- a/eventmesh-sdk-go/grpc/client.go
+++ b/eventmesh-sdk-go/grpc/client.go
@@ -42,7 +42,7 @@ func New(cfg *conf.GRPCConfig, opts ...GRPCOption) (Interface, error) {
// eventMeshGRPCClient define the grpc client for eventmesh api
type eventMeshGRPCClient struct {
grpcConn *grpc.ClientConn
- // producer used to send msg to evenmesh
+ // producer used to send msg to eventmesh
*eventMeshProducer
// consumer used to subscribe msg from eventmesh
*eventMeshConsumer
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org