Github user ottobackwards commented on a diff in the pull request:
https://github.com/apache/metron/pull/1021#discussion_r189924019
--- Diff:
metron-platform/metron-common/src/main/java/org/apache/metron/common/configuration/enrichment/handler/StellarConfig.java
---
@@ -142,8 +143,14 @@ else if(kv.getValue() instanceof List) {
{
--- End diff --
I'm trying to wrap my head around why you need the special handling in the
variable resolver.
If one of the vars points to a map, that is it. You don't need to do any
special dance.
You can have the variable context 'builder' ( config whatever ) allow
naming the message as a var with a certain name and that is it.
I don't understand why all the extra stuff is required. IE. why the
variable resolver needs to know it is a map. It is just a var.
---