Enrich a data stream by dynamically adding fields based on user-provided static metadata configuration.
The Static Metadata Enricher is designed to enrich a data stream by dynamically adding fields based on user-provided metadata configuration. Users can specify static properties, and the processor will process each event, adding fields according to the provided key-value pairs. The output strategy is determined dynamically based on the provided metadata. For added convenience, users also have the option of uploading a CSV file with metadata information.
For each metadata entry, configure the following three options:
Alternatively, you can utilize the CSV upload feature by creating a CSV file with the following format:
Runtime Name,Runtime Value,Data Type sensorType,Temperature,String maxSensorValue,100.0,Float minSensorValue,0,Float
{ "reading": 25.5 }
{ "reading": 25.5, "sensorType": "Temperature", "maxSensorValue": 100.0, "minSensorValue": 0.0 }