Description
Describe the bug
While debugging some converter selection issues, I figured out that quarkus is (intentionally?) returning the message payload's raw type (at least here and here, but there are more).
As smallrye converters allow for generic message payloads (linked from the quarkus kafka reference guide), I was expecting parameterized types to be handled correctly (at least the ones without type variables and wildcards).
Expected behavior
Payload's parameterized type is being used for message converter lookup.
Actual behavior
Payload's raw type is being used for message converter lookup.
How to Reproduce?
No response
Output of uname -a
or ver
Linux JIRA-ITC-1752 5.15.137.3-microsoft-standard-WSL2 #1 SMP Mon Nov 6 23:32:38 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk version "17.0.12" 2024-07-16
Quarkus version or git rev
3.12.2
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Additional information
No response