Conversation
|
Hi @pg-yang , can you also share the related traces? And please also update the topology in the doc. The resource cost looks reasonable to me, it adds <= 0.1C/256M. |
|
It seems the producer/consumer continues, is there an async from HTTP request to sending a message? |
|
I try to create a controller to send MQ message , but it was truncated too . it seems the reason of gateway plugin . |
|
Oh, Gateway is not a good place to do that. Spring Gateway has a lot of async. I am not sure whether you triggered something. It is better to put this logic in a simple SpringMVC Controller. |
|
Yes , I have to create a new service with MQ producer or consumer |
|
Isn't an existing Java application? Besides the gateway? If there is one, we could build a producer and consumer for the same service. |
|
Only songs is java application except gateway . If build producer and consumer to songs , the topology would be loop : %% please read this doc in our official website, otherwise the graph is not correctly rendered.
graph LR;
songs --> acvivemq
acvivemq --> songs
|
|
I think it is fine to find a loop with mutiple endpoints. After all, we are just showing the capability |
|
The doc %% please read this doc in our official website, otherwise the graph is not correctly rendered.
graph LR;
loadgen[load generator] --> ui("UI (React)") --> Traffic1("HTTP Request for backend serv") --> apisix("APISIX as UI container")
--> app("app server (NodeJS)") --> gateway("gateway (Spring)");
ui("UI (React)") --> Traffic2("HTTP Request for UI codes") --> apisix("APISIX with UI container")
gateway --> songs("songs (Spring)") & rcmd("recommendations (Python)");
songs --> activeMQ
activeMQ --> songs
rcmd --> songs;
songs --> db("database (H2)");
|
|
@kezhenxu94 PTAL. BTW, could you revert the last change on the demo installer? As apache/skywalking#9954 had been merged, we should test whether it is fixed. |




172.31.0.2:61616 is activemq server