Dominic Gara
06/07/2023, 8:45 AMMatt (pactflow.io / pact-js / pact-go)
a. Is there a link to an example(s)? This is handy, but need a little more help with the java implementationYes, here’s an example: https://docs.pactflow.io/docs/examples/kafka/java/consumer + https://docs.pactflow.io/docs/examples/kafka/java/provider The principles are the same for SNS/SQS (see also the Node examples for AWS)
1. We’re working on SNS, SQS and AWS Lambdas is bi-directional contract testing supported for these?bi-directional contract testing (if by that you mean https://docs.pactflow.io/docs/bi-directional-contract-testing/) does not support this, it currently only supports HTTP
1. AsyncAPI is on our radar, and appreciate it’s on your roadmap for directional support. Is this supported via traditional means (consumer driven?) and if we were to integrate the AsyncAPI with swagger would that then enable bi-directional contract testing?could you elaborate here? How would you integrate AsyncAPI with Swagger? You can do message based testing with Pact, yes, but it doesn’t have any AsyncAPI integration.
Dominic Gara
06/07/2023, 9:35 AMDominic Gara
06/07/2023, 9:36 AMMatt (pactflow.io / pact-js / pact-go)
PactFlow, the leading contract testing tool, makes it simple to catch breaking changes relating to your AsyncAPIs before they cause issues later in the SDLC – you can use contract testing for your Async services. Currently, PactFlow does not support AsyncAPI but work to create this capability is on the roadmap.the wording of that is unfortunate, to say the least given the context. But it is true - it’s on the roadmap and you can test services documented by AsyncAPI - we just don’t care about the AsyncAPI document. It’s unfortunate because AsyncAPI is used both as a noun to denote the AsyncAPI document (and presumably also the open source initiative), and also as an adjective to describe a type of API that is asynchronous
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Dominic Gara
06/07/2023, 12:30 PMMatt (pactflow.io / pact-js / pact-go)