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

Remove confluent schema registry hard dependency #6552

Conversation

pedro93
Copy link
Collaborator

@pedro93 pedro93 commented Nov 25, 2022

Checklist

Purpose of this PR is to remove the schema registry as a hard dependency from DataHub.
In order to do that, the PR creates a new module kafka-avro-serde which implements Kafka-compatible Serializer & Deserializer classes.

Also included is a static, internal light schema registry implementation to know how to serde DataHub's Avro records (MCP, MCL and it's variants).

Based on #5232, kudos to @tmnd1991!

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Nov 25, 2022
@github-actions
Copy link

github-actions bot commented Nov 25, 2022

Unit Test Results (build & test)

543 tests   543 ✔️  15m 16s ⏱️
131 suites      0 💤
131 files        0

Results for commit 4d32e02.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 25, 2022

Unit Test Results (metadata ingestion)

       8 files         8 suites   1h 2m 14s ⏱️
   766 tests    756 ✔️ 2 💤   8
1 534 runs  1 514 ✔️ 5 💤 15

For more details on these failures, see this check.

Results for commit 4d32e02.

♻️ This comment has been updated with latest results.

@pedro93 pedro93 force-pushed the remove-confluent-schema-registry branch 3 times, most recently from 2abebfc to 4d32e02 Compare December 5, 2022 10:52
@pedro93 pedro93 force-pushed the remove-confluent-schema-registry branch 3 times, most recently from a00ebdb to d1afa3f Compare December 14, 2022 15:57
@pedro93 pedro93 force-pushed the remove-confluent-schema-registry branch 3 times, most recently from d6e47ea to ad0e4fe Compare December 26, 2022 19:57
@pedro93 pedro93 force-pushed the remove-confluent-schema-registry branch 3 times, most recently from b3bb2bd to 73910f9 Compare January 13, 2023 09:59
@jjoyce0510 jjoyce0510 added platform PR-s that make changes to core parts of the platform and removed ingestion PR or Issue related to the ingestion of metadata labels Jan 13, 2023
@pedro93 pedro93 force-pushed the remove-confluent-schema-registry branch from 4ced56a to 9caf64d Compare January 20, 2023 17:04
@pedro93 pedro93 force-pushed the remove-confluent-schema-registry branch from 0c546b9 to e7b264b Compare January 27, 2023 09:07
@ComponentScan(basePackages = {"com.linkedin.metadata.kafka", "com.linkedin.gms.factory.config",
"com.linkedin.gms.factory.common"},
excludeFilters = {@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = ScheduledAnalyticsFactory.class),
@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = SiblingGraphServiceFactory.class)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why this needs to be excluded as part of this PR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are being injected through other classes which means that when running this in standalone mode you have multiple sources for the same beans.

@pedro93 pedro93 closed this May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform PR-s that make changes to core parts of the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants