Skip to content
  • George Kiagiadakis's avatar
    m-config-policy: refactor the target search logic and add debug messages · 5a002888
    George Kiagiadakis authored
    - fall back to the default logic if node.target is set but it doesn't exist
    - use the default endpoint if it is within the [target-endpoint] matches;
      this way we can use a config file to override just the stream name,
      for instance, while still respecting the default endpoint
    - prefer use of the lookup methods instead of manual iterations
    
    previously the default endpoint was not respected because our config
    files have a [target-endpoint] table..
    5a002888