-
Notifications
You must be signed in to change notification settings - Fork 41
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(columbus): add "service" field to columbus payload #264
Conversation
@@ -9,4 +9,5 @@ import ( | |||
type Metadata interface { | |||
GetResource() *common.Resource | |||
GetProperties() *facets.Properties | |||
GetLineage() *facets.Lineage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@StewartJingga This would not be applicable to every resource right? Like user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but right now it is the only way Columbus sink is able to fetch lineage from our varies models.
The other way is to typechecking for each types which im not sure is scalable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ravisuhag another approach is to have another interface for lineage and typecheck for that interface in Columbus.
type HasLineage interface {
GetLineage() *facets.Lineage
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think let's create another interface for lineage check instead of expecting all models to have it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.