-
Notifications
You must be signed in to change notification settings - Fork 637
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
[Bug] The example code SyncRequestInstance in http.demo does not work fine #2457
Comments
The following code is modified by me with reference to the async case, and it works fine.
|
There is a premise here, which is to fix the problems mentioned by the bug #2444 first. |
It has been 90 days since the last activity on this issue. Apache EventMesh values the voices of the community. Please don't hesitate to share your latest insights on this matter at any time, as the community is more than willing to engage in discussions regarding the development and optimization directions of this feature. If you feel that your issue has been resolved, please feel free to close it. Should you have any additional information to share, you are welcome to reopen this issue. |
Search before asking
Environment
Windows
EventMesh version
master
What happened
There may be missing some mcessary pareter configurations in the example, which causes the excample run failed.
In the main method of class org.apache.eventmesh.http.demo.pub.eventmeshmessage.SyncRequestInstance, the config of httpclient and producer are as below:
When running this example, exceptions will be thrown in the eventmesh-runtime, and no response will be received here.
I have checked all the exceptions, by reading the exception report and debugging, all information indicate that:
I modified both of these codes with reference to the async sample code in AsyncPublishInstance, then it works fine.
How to reproduce
Debug logs
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: