...
Info |
---|
Important: Macro keys must be unique across a CDAP instance. To get a list of all the macros resolved with preferences, use the Preferences MicroservicesMicroservices. |
A common use of macros is in Path fields. Instead of using hard coded paths, you can use dynamic paths. For example, in a GCS source plugin, you might replace the path using multiple macros to split the bucket, folder, and file portions as follows: gs://${bucket.name}/${folder}/${file.name}. Or, if you want to ingest data from a bucket that is static and a file with a name that isn’t static, enter the name of the bucket and use a macro for the file name. The Path field will look like this:
...