You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm opening this issue in correlation with the sibling one here on the cloudevents repo.
Apparently using the reactive rest client in conjunction with cloudevents inhibits the correct headers and content negotiation when trying to dispatch "structured encoded" events with the following annotation:
I'm opening this issue because using quarkus-rest-client-jackson instead of the suggested quarkus-rest-client-reactive-jackson results in a correct behavior.
Expected behavior
The rest client dispatch "structured encoded" cloudevents. See here for the detailed spec.
Describe the bug
I'm opening this issue in correlation with the sibling one here on the cloudevents repo.
Apparently using the reactive rest client in conjunction with cloudevents inhibits the correct headers and content negotiation when trying to dispatch "structured encoded" events with the following annotation:
I'm opening this issue because using
quarkus-rest-client-jackson
instead of the suggestedquarkus-rest-client-reactive-jackson
results in a correct behavior.Expected behavior
The rest client dispatch "structured encoded" cloudevents. See here for the detailed spec.
Eg, an HTTP POST with the following body payload:
Actual behavior
The rest client always dispatch "binary encoded" cloudevents. Ignoring the
@Consumes
annotation. See here for the detailed spec.Eg. an HTTP POST with the following body payload:
How to Reproduce?
See this repo.
TL;DR:
application.properties
mvn quarkus dev
orquarkus dev
Output of
uname -a
orver
Linux kunta-dell 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17" 2021-09-14 OpenJDK Runtime Environment Microsoft-26987 (build 17+35) OpenJDK 64-Bit Server VM Microsoft-26987 (build 17+35, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.15.3.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.6
Additional information
No response
The text was updated successfully, but these errors were encountered: