-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending cloudevents format messages using grpc is slow (I don't know if all producers are slow) #5030
Comments
Welcome to the Apache EventMesh community!! Please make sure to include all the relevant context. If you are interested in contributing to our project, please let us know! Want to get closer to the community?
Mailing Lists:
|
In addition, when I want to try to send a message using tpc, there is an error prompt My code : UserAgent userAgent = UserAgent.builder()
.env(ENV)
.host("10.2.1.116")
.password(generateRandomString(UtilsConstants.PASSWORD_LENGTH))
.username("admin")
.group(UtilsConstants.GROUP)
.path("C:/em")
.port(8362)
.subsystem("5556")
.pid(32_893)
.version(UtilsConstants.VERSION)
.idc(SYSID)
.build();
EventMeshTCPClientConfig eventMeshTcpClientConfig = EventMeshTCPClientConfig.builder()
.host("172.16.15.136")
.port(51111)
.userAgent(userAgent)
.build();
final EventMeshTCPClient<CloudEvent> producer =
EventMeshTCPClientFactory.createEventMeshTCPClient(eventMeshTcpClientConfig, CloudEvent.class);
producer.init();
```
So, now I am confused. Neither official documents nor cases provide detailed descriptions of UserAgents. It's weird. |
this error means your UserAgents missing the purpose property, you can take a look at |
Search before asking
Question
Sending cloudevents format messages with grpc is slow (I'm not sure if the producers are all slow), and sending 101 pieces of data takes over 60 seconds.
code like this
The results as shown:
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/26004435/348244443-a54e94a5-395d-4ea7-9cea-89826b1f6b66.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM0MDA2NTQsIm5iZiI6MTcyMzQwMDM1NCwicGF0aCI6Ii8yNjAwNDQzNS8zNDgyNDQ0NDMtYTU0ZTk0YTUtMzk1ZC00ZWE3LTljZWEtODk4MjZiMWY2YjY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDE4MTkxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRjODQ3YzIyNGE0MjI3YWQzMDk1YWVjNTAxNjI3OGNiYmZkZWQ1Yzg2OTlmNmY5ZGZmOTNiMDczM2EyYzlkMjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gvAjXnPF16LWn1ay27DYA_1HLEA7IlxFjtx-LeE263o)
The server is configured as follows:
eventmesh.properties
server.env
Where I do wrong?
I don't think producers should so slowly!
The text was updated successfully, but these errors were encountered: