Redaction fails for nested fields


The redaction control fails to work with a property that uses a JSON path with more than one field name. For example $

A Kafka consumer set up to consume from this option will have connection failures. The Event Gateway displays errors in the logs similar to the following example:

WARN - [encodeAvro:143] The data does not match the schema: Schema with encoding: AVRO_BINARY


ERROR (Redaction Fetch Response Interceptor) - [lambda$intercept$5:169] 
java.util.NoSuchElementException: No value present


When the Event Gateway tries to encode the message after performing the redaction, it fails to generate the nested fields correctly, and fails to create the redacted message. When the redaction failure occurs, the Event Gateway sends a null message to avoid passing on any sensitive information.

Resolving the problem

To resolve the problem, upgrade your Event Endpoint Management instance to version 11.1.3 or later.