You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
To construct the event lineage graph properly, a function should be created that maps the subscription struct into a Edge struct. Specifically, this Edge struct should:
Have the self property reference the subscription itself
Have the from property reference the channel itself
Have the to property reference the subscriber
Have the transform function be NoTransform
Additionally, if the subscription has a reply field set, there should be another Edge struct. This Edge struct should:
Have the self property reference the subscription
Have the from property reference the subscriber
Have the to property reference the reply destination
Have the transform function be NoTransform
If the subscription has the deadLetterSink property set on the delivery field, then another Edge should be constructed. This Edge struct should:
Have the self property reference the subscription
Have the from property reference the channel
Have the to property reference the DLS
Have the transform function be NoTransform
This function should accept the subscription struct, as well as a map[duckv1.Destination]Vertex. Persona:
Which persona is this feature for?
Exit Criteria
A unit test showing that this conversion is done properly
Time Estimate (optional):
How many developer-days do you think this may take to resolve? 1
Additional context (optional)
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered:
Problem
To construct the event lineage graph properly, a function should be created that maps the subscription struct into a Edge struct. Specifically, this Edge struct should:
self
property reference the subscription itselffrom
property reference the channel itselfto
property reference the subscribertransform
function beNoTransform
Additionally, if the subscription has a
reply
field set, there should be another Edge struct. This Edge struct should:self
property reference the subscriptionfrom
property reference the subscriberto
property reference thereply
destinationtransform
function beNoTransform
If the subscription has the
deadLetterSink
property set on thedelivery
field, then another Edge should be constructed. This Edge struct should:self
property reference the subscriptionfrom
property reference the channelto
property reference the DLStransform
function beNoTransform
This function should accept the subscription struct, as well as a
map[duckv1.Destination]Vertex
.Persona:
Which persona is this feature for?
Exit Criteria
A unit test showing that this conversion is done properly
Time Estimate (optional):
How many developer-days do you think this may take to resolve? 1
Additional context (optional)
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered: