Commit 47fc601
feat(kafka-connect): add column-level lineage support for MongoDB source connector
MongoSourceConnector.extract_lineages() now calls _extract_fine_grained_lineage()
to produce column-level lineage when use_schema_resolver and
schema_resolver_finegrained_lineage are enabled. The base class method resolves
MongoDB collection schemas from DataHub and creates 1:1 field mappings.
Prerequisite: MongoDB collections must be ingested into DataHub before
Kafka Connect ingestion for schema resolution to work.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4ff800c commit 47fc601
File tree
2 files changed
+67
-0
lines changed- metadata-ingestion
- src/datahub/ingestion/source/kafka_connect
- tests/unit
2 files changed
+67
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2121 | 2121 | | |
2122 | 2122 | | |
2123 | 2123 | | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
2124 | 2131 | | |
2125 | 2132 | | |
2126 | 2133 | | |
2127 | 2134 | | |
2128 | 2135 | | |
| 2136 | + | |
2129 | 2137 | | |
2130 | 2138 | | |
2131 | 2139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
607 | 666 | | |
608 | 667 | | |
609 | 668 | | |
| |||
0 commit comments