Skip to content

Commit

Permalink
Merge pull request #1521 from liuzhuang2017/fix-event
Browse files Browse the repository at this point in the history
[Doc] Update the eventmesh keywords.
close #1520
  • Loading branch information
xwm1992 committed Oct 13, 2022
2 parents a2dd600 + b1a3c51 commit a0d9625
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/en/contribute/03-new-contributor-guidelines.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/en/design-document/02-runtime-protocol.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/contribute/03-new-contributor-guidelines.md
Expand Up @@ -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

Expand Down
Expand Up @@ -180,10 +180,10 @@ private void doRedirect(String group, String purpose, int judge, List<String> ev

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,
Expand Down
2 changes: 1 addition & 1 deletion eventmesh-sdk-go/grpc/client.go
Expand Up @@ -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
Expand Down

0 comments on commit a0d9625

Please sign in to comment.