It's feedback time 👀 #190
Replies: 2 comments 4 replies
-
Hello @Pakisan thank you for raising this topic. My usecases are the followings: Verifying consumed messages in testsGiven I'm writing a test, that sends a message to my application (and verified it is processed properly) Rationale: it is possible to write both production code and test code in a way that the test is passing; still, without additional test tooling, nothing ensures that the messaging conforms to the AsyncAPI spec, which will yield an error only after my tests are ran and my service is integrated with an other service, publishing that message. I want to prevent such situation by validating both the production and test code against the AsyncAPI contract. Verifying published messages in testsGiven I'm writing an integration test Rationale: same as above, but this time my service is the publisher (and not the consumer) of the message Verifying received messages in productionGiven my service is running Rationale: when something goes wrong, when 2 services integrate via messaging, it is important to know which party broke the AsyncAPI contract. Summary: I need proper validators pluggable into the frameworks I use (partly JMS, party Azure Service Bus client library). I would like to use these to do contract-first development & verify conformity to the AsyncAPI contract, when I integ-test my service in isolation (without the other publisher/consumer services). I'm much less interested in code generators. In case of REST interfaces (OpenAPI), I could put it together the contract-first development flow with openapi4j, RestAssured and a servlet filter, but for messaging (AsyncAPI) I haven't found the necessary tooling. |
Beta Was this translation helpful? Give feedback.
-
I'm contributor of a quarkus-extendsion, that scans the code for MicroProfile-Annotations for messages and generates AsyncApi-files from that. I found your lib very usefull! |
Beta Was this translation helpful? Give feedback.
-
Hey, it's Pavel, maintainer of AsyncAPI Java bindings and plugin for JetBrains
I want to ask you to share your experience with JAsyncAPI and JAsyncAPI IDEA plugin to better understand your expectations and your opinion about the current state
I welcome any feedback, whether it's positive or negative
For example:
Beta Was this translation helpful? Give feedback.
All reactions