We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Armeria annotated services use an (service) event loop by default if @Blocking or .useBlockingTaskExecutor(true) is not set.
@Blocking
.useBlockingTaskExecutor(true)
I think we can improve the static default value to dynamically determine if a blocking executor is necessary.
CompletableFuture
Mono
Single
String
ResponseEntity
This approach will be especially useful for users who are new to Armeria. Related: #5848
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Armeria annotated services use an (service) event loop by default if
@Blocking
or.useBlockingTaskExecutor(true)
is not set.I think we can improve the static default value to dynamically determine if a blocking executor is necessary.
CompletableFuture
,Mono
,Single
, and so on, an (service) event loop is used by default.String
,ResponseEntity
or something else, a blocking task executor can be used for the methods by default.This approach will be especially useful for users who are new to Armeria.
Related: #5848
The text was updated successfully, but these errors were encountered: