Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Quarkus messaging - Validating outgoing messages

$
0
0

We are using Quarkus to consume events from Kafka, perform some enrichments, and push them to an internal system over HTTP using a custom connector.

We need to validate that the enriched events conform to a given schema before dispatching them,and send the invalid events to a DLQ.

We tried to perform the validation with an interceptor, but could not find a way to gracefully fail the message this way.

Is this possible?Or is there another recommended approach for handling this kind of validation?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>