Some hydrator plugins currently support macro substitution, but the implementation is local to hydrator-plugins.
It would be better to figure out how to support this in CDAP itself. For example, one option would be to annotate fields in a PluginConfig with
, which will tell the platform to perform macro substitution on that field when creating and injecting the plugin conf.
Added Feature to support Macros in Plugins. This allows hydrator plugins fields to accept macros.