Hi... Is there a simple way to get the dependencie...
# ingestion
m
Hi... Is there a simple way to get the dependencies of an object. I have a big picture scheme were I'd like to pick up MCEs from kafka and query datahub to find dependencies on the changed object. If the dependency turns out to be an executable (such as airflow dag, dashboard, chart, ml model etc...) then I'll trigger a downstream process to re-refresh those objects... Does this seem reasonable/doable ? As always, greatly appreciate your support ....
m
@magnificent-camera-71872: there is a relnships api that you can call to get the relationships of any entity.
m
Thanks @mammoth-bear-12532 So essentially it would be down to issuing a series of 'relationship' queries for the changed object. Something similar to: https://datahubproject.io/docs/metadata-modeling/metadata-model#relationship-query ?
m
yes!
m
thanks 🙂