Skip to content

quarkus.grpc.codegen.proto-directory unrecognized configuration key & missing from documentation #48106

New issue

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

Open
LarsSven opened this issue May 28, 2025 · 1 comment
Assignees
Labels
area/config area/grpc gRPC kind/bug Something isn't working

Comments

@LarsSven
Copy link
Contributor

Describe the bug

The quarkus documentation refers to a property called quarkus.grpc.codegen.proto-directory in https://quarkus.io/guides/grpc-generation-reference#customizing-the-proto-directory. This property works as intended however it is not present in the https://quarkus.io/guides/all-config and if you use it in a Quarkus project, you get:

Unrecognized configuration key "quarkus.grpc.codegen.proto-directory" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo

Even though the property does work as intended.

Expected behavior

This property should be mentioned in the configuration documentation and I shouldn't get a warning when using it.

Actual behavior

I get a warning about it not recognizing the property, even though it is literally using the property (and if I remove the property my code breaks), and I cannot find it in the general configuration reference.

How to Reproduce?

  1. Start a Quarkus gRPC project and set quarkus.grpc.codegen.proto-directory
  2. Observe that this warning is thrown in the logs

Output of uname -a or ver

Ubuntu 25.04 6.14.0-15-generic

Output of java -version

openjdk version "21.0.7" 2025-04-15

Quarkus version or git rev

3.22.3

Build tool (ie. output of mvnw --version or gradlew --version)

Gradle 8.14.1

Additional information

No response

@LarsSven LarsSven added the kind/bug Something isn't working label May 28, 2025
Copy link

quarkus-bot bot commented May 28, 2025

/cc @alesj (grpc), @cescoffier (grpc), @radcortez (config)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config area/grpc gRPC kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants