Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(): Introducing support for DataHub Events Source #142

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jjoyce0510
Copy link
Contributor

As of v0.3.7 of DataHub Cloud, connecting DataHub actions is supported.

Summary

  • Add new DataHubEventsSource for reading events from DataHub Cloud versions > v0.3.7.
  • Add unit tests
  • Add documentation

QA & Validation

Verified that the integration is working correctly with longtailcompanions.acryl.io:

Hello world! Received event:
{
    "event_type": "EntityChangeEvent_v1",
    "event": {
        "entityType": "assertion",
        "entityUrn": "urn:li:assertion:aed3ec48-5dbb-40d5-8942-e44a2ff3fa78",
        "category": "RUN",
        "operation": "COMPLETED",
        "auditStamp": {
            "time": 1737418020285,
            "actor": "urn:li:corpuser:__datahub_system"
        },
        "version": 0,
        "parameters": {
            "asserteeUrn": "urn:li:dataset:(urn:li:dataPlatform:snowflake,test_db.public.purchase_event,PROD)",
            "runId": "urn:li:assertion:aed3ec48-5dbb-40d5-8942-e44a2ff3fa78-1737418020282",
            "runResult": "COMPLETE",
            "assertionResult": "SUCCESS"
        }
    },
    "meta": {
        "batch_id": 1,
        "msg_id": 2
    }
}

Copy link

Unit Test Results (build & test)

0 tests   - 63   0 ✅  - 63   0s ⏱️ -4s
0 suites  -  1   0 💤 ± 0 
0 files    -  1   0 ❌ ± 0 

Results for commit 355d523. ± Comparison against base commit c0fc442.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant