-
Notifications
You must be signed in to change notification settings - Fork 642
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
pub/sub client fails to start #220
Comments
When you run AsyncPublishInstance Class main method with read time out exception, what was happened in eventmesh runtime module, you can take a look of this module's log . Perhaps you didn't build this topic FT0-e-80010000-01-1 yet. |
I updated the broker.properties
Create topic
Errors
|
The |
I tried both localhost and 127.0.0.1:9876 as suggested in https://github.com/WeBankFinTech/DeFiBus/blob/master/defibus-broker/src/main/java/com/webank/defibus/broker/DeFiBusBrokerStartup.java#L146-L149, neither of them works and the async publisher startup still failed with connection time out.
and runadmin command confirmed topic creation
Failing when topic publish with a connect read timeout
I see heartbeat in Its kinda like its failing to reach out to port 10105 request instead. please advice. |
Ok, I got it. I tried it in the way as you mentioned. The phenomenon is that there is a ReadTime Out Exception when the first message is sent.When I try to run |
Consider implementing a warm-up function for the first message under HTTP requests. |
@ewcchan Is there any problem that we can help? |
@qqeasonchen I tried the suggestion provided by @xwm1992 with multiple I observed from and I have in
Errors
Please advice. In the meantime I am trying to understand the |
I found out that I had been running the however, On first execution of
|
|
Thanks @xwm1992 I don't have any outstanding problem for now. I will close this issue and will reopen if there is further concern. BY THE WAY, is there any java doc or developer documentation for the jdk client usage? |
Documents supplements is going on. |
Hi
I was trying to follow the steps in https://github.com/WeBankFinTech/EventMesh/blob/develop/docs/en/instructions/eventmesh-sdk-java-quickstart.md to try eventMesh
My DeFiBus starts fine without error, as shown in sysout.
and
I started
com\webank\eventmesh\runtime\boot\ProxyStartup.java
in IntelliJ with VM config stated here and I do not see any issues from the sysout.console output
Starting the demo client
java\com\webank\eventmesh\client\http\demo\sub\SpringBootDemoApplication.java
in IntelliJ also as shown in working state.console output
However, when I tried to start the publisher
java\com\webank\eventmesh\client\http\demo\AsyncPublishInstance.java
in IntelliJ I am getting READ TIME OUT error as shown below.console output
What is missing and what is the expected behaviour?
Additional Info
The text was updated successfully, but these errors were encountered: