Skip to content

Commit 08252b6

Browse files
authored
Merge pull request quarkusio#47651 from maxandersen/grpcwarn
2 parents bf02409 + b11ab1f commit 08252b6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

extensions/grpc/runtime/src/main/java/io/quarkus/grpc/runtime/GrpcServerRecorder.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,11 @@ public void initializeGrpcServer(boolean hasNoBindableServiceBeans, BeanContaine
142142
if (configuration.useSeparateServer()) {
143143
if (provider == null) {
144144
LOGGER.warn(
145-
"Using legacy gRPC support, with separate new HTTP server instance. " +
146-
"Switch to single HTTP server instance usage with quarkus.grpc.server.use-separate-server=false property");
145+
"""
146+
Using legacy gRPC support with a separate HTTP server instance. This is the current default to maintain compatibility.
147+
You can switch to the new unified HTTP server by setting quarkus.grpc.server.use-separate-server=false
148+
This change is recommended for new applications and will become the default in future versions.
149+
""");
147150
}
148151

149152
if (launchMode == LaunchMode.DEVELOPMENT) {

0 commit comments

Comments
 (0)