mattyb149 commented on a change in pull request #3912: NIFI-6889 - Create 
RulesRecordProcessor 
URL: https://github.com/apache/nifi/pull/3912#discussion_r353951172
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-rules-bundle/nifi-rules-processors/src/main/resources/schema-actions.avsc
 ##########
 @@ -0,0 +1,10 @@
+{
+ "type": "record",
+ "name": "action",
+ "namespace": "rules",
+ "fields": [
+   {"name": "type", "type": "string"},
+   {"name": "attributes", "type": {"type": "map", "values": "string"}},
+   {"name": "metrics", "type": {"type": "map", "values": "string"}}
 
 Review comment:
   Should we have the metrics values be `double` rather than `string`? Would 
make subsequent operations (arithmetic functions via QueryRecord for example) 
easier and avoids a necessary conversion downstream.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to