witty-painting-90923
02/22/2022, 10:28 AMpipeline = Pipeline.create(
# This configuration is analogous to a recipe configuration.
{
"source": {
"type": "elasticsearch",
"config": {
"env": ENV,
"host": es_connection_host_port,
"username": es_connection_login,
"password": es_connection_password,
"index_pattern": {
"deny": [es_deny_index_pattern]
}
},
},
"sink": {
"type": "datahub-rest",
"config": {"server": datahub_server},
},
"transformers": [
{
"type": "set_dataset_browse_path",
"config": {
"path_templates": [f"/ENV/PLATFORM/EsComments/DATASET_PARTS"]
}
},
{
"type": "simple_add_dataset_tags",
"config": {
"tag_urns": [f"urn:li:tag:EsComments"]
}
}
]
})
pipeline.run()
loud-island-88694
early-lamp-41924
02/22/2022, 8:09 PMhelpful-optician-78938
02/22/2022, 8:17 PMwitty-painting-90923
02/24/2022, 9:23 AMhelpful-optician-78938
02/25/2022, 2:44 AMnumerous-application-54063
03/03/2022, 1:37 PMnumerous-application-54063
03/03/2022, 1:38 PMmammoth-bear-12532
mammoth-bear-12532
mammoth-bear-12532
mammoth-bear-12532
platform_instance
, you can just assign that in your recipe to get your ingestion to be "instance specific".mammoth-bear-12532
platform_instance
to EsComments
in your recipenumerous-application-54063
03/03/2022, 5:21 PMmammoth-bear-12532