Does Solace inspect the schema of message with AsyncAPI contract?
Hi,
We use AsyncAPI to define our event contract and I'd like to know whether Solace will inspect the schema of message sent by publisher before the consumption?
Thanks
Best Answer
-
Hi @Xin,
The broker itself doesn't touch the payload, so any client is free to publish or consume any data or schema.
However, some of our connectors, such as the Mulesoft and Boomi connectors, can link to Event Portal, extract the schemas and validate the schemas - but the connector is doing this, not Solace.
Lastly, if you use the AsyncAPI code generators to generate Spring code, the schema is automatically considered.
0
Answers
-
Hi @Xin,
The broker itself doesn't touch the payload, so any client is free to publish or consume any data or schema.
However, some of our connectors, such as the Mulesoft and Boomi connectors, can link to Event Portal, extract the schemas and validate the schemas - but the connector is doing this, not Solace.
Lastly, if you use the AsyncAPI code generators to generate Spring code, the schema is automatically considered.
0 -
Hey Xin - as Tom mentioned, if you want to do any schema validation or inspection that will have to be done on the recipient's end. Whether that be using an AsyncAPI opensource community tooling for schema validation, or an IPaaS service (e.g. MuleSoft, Boomi), or writing your own custom payload inspection and validation microservice.
At the end of the day, Solace PubSub+ Event Broker is a "pipe" that streams data with no payload manipulation: whatever comes in goes out
0