Class RuleResult

java.lang.Object
io.confluent.kafka.schemaregistry.rules.RuleResult

public final class RuleResult extends Object
Outcome of a single rule's execution during deserialization, along with any metadata the rule executor produced. One RuleResult is appended per rule visited (including skipped rules) and surfaced via ParsedSchemaAndValue.getRuleResults().

Executor metadata is published in two parallel maps:

  • messageMetadata() — message-level key/value attributes (one map for the whole rule execution).
  • fieldMetadata() — per-field attributes, keyed by field path; each value is a key/value map specific to that field.

All values are String. Absent keys mean "not recorded" — null values are never stored. Specific key conventions are documented by the executor that produces them (for example, see EncryptionExecutor).