Skip to content

Commit

Permalink
docs: Add docs around ServiceReadyEvent not being fired (#642)
Browse files Browse the repository at this point in the history
* docs: Add docs around ServiceReadyEvent not being fired

Closes #296

* update docs
  • Loading branch information
timyates authored Feb 15, 2024
1 parent 2f331c4 commit d1af745
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/docs/guide/knownIssues.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ The body is read from the request input-stream and so attempting to reparse it f

With a Netty based server, you can https://docs.micronaut.io/latest/guide/#_management_port[configure a management port for the server].
This is not currently supported with Servlet based servers, and management endpoints (when enabled) will be available on the same port as the main application.

=== ServiceReadyEvent publication

When using the Netty runtime, the `ServiceReadyEvent` is automatically published when the server is ready to accept requests.
This is not currently supported with Servlet based servers.

If you wish to generate a `ServiceReadyEvent` you can do so manually by injecting a `ApplicationEventPublisher<ServiceReadyEvent>` bean and publishing the event yourself when your application is ready.

0 comments on commit d1af745

Please sign in to comment.