karsonto commented on code in PR #4732:
URL: https://github.com/apache/eventmesh/pull/4732#discussion_r1445900997
##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/inf/HttpRequestProcessor.java:
##########
@@ -67,4 +68,10 @@ default String getExtension(CloudEvent event, String
protocolKey) {
return Objects.isNull(extension) ? "" : extension.toString();
}
+ /**
+ *
+ * @return {@link Executor}
+ */
+ Executor executor();
+
Review Comment:
Because when I was looking at the source code, I found that the
HttpRequestProcessor requires a thread pool to execute, and this design can
clearly know which thread pool executes the processor .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]