Class RuleResult
java.lang.Object
io.confluent.kafka.schemaregistry.rules.RuleResult
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).
-
Constructor Details
-
RuleResult
-
-
Method Details
-
rule
-
result
-
errorMessage
-
messageMetadata
Message-level metadata produced by the executor. Always non-null; empty when the executor produced nothing at the message level. -
fieldMetadata
Per-field metadata produced by the executor, keyed by field path. Always non-null; empty when the executor produced no field-level metadata. -
equals
-
hashCode
public int hashCode() -
toString
-