Comments (1)
You are blocking the event loop. What you are doing is actually an exception earlier in the latest version of Micronaut. If you intention is to do primarily blocking operations you need to configure the client & server to handle that case. Here is a recommended configuration:
# We assume primarily blocking user code, so configure the server & client to handle blocking I/O
micronaut.server.thread-selection=blocking
micronaut.netty.event-loops.http-client-group.executor=blocking
micronaut.netty.event-loops.http-client-group.prefer-native-transport=true
micronaut.http.client.event-loop-group=http-client-group
micronaut.http.client.pool.enabled=true
from micronaut-core.
Related Issues (20)
- Multiple client filters in Micronaut HOT 8
- Micronaut v4.3.1 causing stackoverflow exception on java compilation HOT 3
- @RequestScope cannot be used with HTTP client blocking requests HOT 7
- Instantiation methods in introspection of abstract class tries to instantiate the abstract class
- NoSuchMethodError/KSP generated bean definition constructor missing parameters for class with AOP advice HOT 2
- While upgrading to micronuat 4.4 from 3.8 HTTPResponse Body content is in unpooledContent and body is null HOT 6
- Rendering issue in docs
- Injection of map of beans does not work if some of the services are injected by implementation type HOT 1
- Micronaut Management stopped working after migration to Micronaut 4.5.3 HOT 5
- Micronaut 3 to 4 migration issue: request.getHaaders.getFirst (key, type.class) can no longer convert HOT 1
- CompletableFuture endpoint with a redirect response returns a 200
- Micronaut 4 throws 404 error for an endpoint having special characters in path parameter HOT 1
- SslContext with Micronaut HttpClient HOT 1
- Support inject a list of values in expression language
- ClassCastException: class io.netty.handler.codec.http.LastHttpContent$1 cannot be cast to class io.netty.handler.codec.http.HttpRequest HOT 10
- @JsonFormat not working for @Emeddable class HOT 3
- Micronaut 4.5 silently ignores classpath issues and doesn't register the beans
- Threading model for HTTP Client and Java 21+ HOT 4
- Allow the Injection of SequencedCollections (Set/Map/Generic-Collection) of Beans
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micronaut-core.