Pre-release
This release is a pre-release and may not be stable for production use.
DataHub Actions
Event-driven automation for DataHub — react to metadata changes in real time and trigger workflows, notifications, or custom logic.
What you can do
- Listen to metadata change events as they happen (entity updates, tag additions, ownership changes, etc.)
- Filter events to only act on what matters to you
- Chain transformers to enrich or reshape events before they reach your action
- Build custom actions — call APIs, send Slack alerts, trigger pipelines, sync to external systems
- Run multiple pipelines in a single process
Installation
pip install acryl-datahub acryl-datahub-actions
datahub actions version
Quickstart
Define an action pipeline in YAML and run it:
# my_action.yml
name: tag_watcher
source:
type: kafka
config:
connection:
bootstrap: localhost:9092
schema_registry_url: http://localhost:8081
filter:
event_type: EntityChangeEvent_v1
event:
category: TAG
operation: ADD
action:
type: hello_world
datahub actions -c my_action.yml
Key concepts
| Concept | Description |
|---|---|
| Source | Where events come from (currently: Kafka) |
| Filter | Narrow down which events trigger the action |
| Transformer | Optionally reshape or enrich events |
| Action | What to do — call an API, send a message, run code |
Supported events
EntityChangeEvent_v1— fired when an entity's metadata changes (tags, owners, terms, etc.)MetadataChangeLogEvent_v1— low-level log of every aspect write
Links
Metadata
Release files for acryl-datahub-actions 1.7.0.15rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acryl_datahub_actions-1.7.0.15rc1.tar.gz | 79.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acryl_datahub_actions-1.7.0.15rc1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 203.2 kB
Release files / acryl_datahub_actions-1.7.0.15rc1.tar.gz
| Download URL | acryl_datahub_actions-1.7.0.15rc1.tar.gz |
|---|---|
| Size | 79.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b12f21e54f51b3f38ab4385675c4ba81b69ece51bf008975f4bf8c18df7c0f9
|
|
BLAKE2b-256 checksum How to use checksums |
7dda67e1cba8fab82b5f782ddcd7ad1d656ea6f552340d880dbc54d749a920ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / acryl_datahub_actions-1.7.0.15rc1-py3-none-any.whl
| Download URL | acryl_datahub_actions-1.7.0.15rc1-py3-none-any.whl |
|---|---|
| Size | 124.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c074c66caa1845ecfe0b55b1a5c6dcc1f16428f2d1678044b3120b0f38230883
|
|
BLAKE2b-256 checksum How to use checksums |
a8832f6e918128b6dae5c501216894b10c5cd762acfc84afa8f6e5ba81b76b40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|