ValidationListener

Callback interface for validation outcomes.

Implementations can log, emit metrics, or take other action on validation results.

Since

0.5.0

Functions

Link copied to clipboard
open fun onSchemaNotFound(eventType: String)

Called when no schema is found for an event type.

Link copied to clipboard
open fun onValidationFailed(eventType: String, errors: List<String>)

Called when an event fails validation.

Link copied to clipboard
open fun onValidationPassed(eventType: String)

Called when an event passes validation.