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: Add ID and numDelivered fields to Datum in udf #33

Merged
merged 2 commits into from Apr 13, 2023
Merged

Conversation

xdevxy
Copy link
Contributor

@xdevxy xdevxy commented Apr 11, 2023

As part of numaproj/numaflow#538, this PR adds ID and numDelivered fields to Datum in udf, so that users are exposed with these metadata information about the message.

It also upgrades lombok to 1.18.26 because of projectlombok/lombok#3264.

@vigith vigith requested a review from yhl25 April 11, 2023 23:39
Signed-off-by: Hao Hao <xdevxhao@gmail.com>
Signed-off-by: Hao Hao <xdevxhao@gmail.com>
Comment on lines +10 to +16
public String getId() {
return this.id;
}

public long getNumDelivered() {
return this.numDelivered;
}
Copy link
Member

Choose a reason for hiding this comment

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

nit: L10-16 can be removed by adding lombok @Getter annotation.

@xdevxy xdevxy merged commit 53ea86c into main Apr 13, 2023
2 checks passed
@xdevxy xdevxy deleted the datum_metadata branch April 13, 2023 04:24
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.

None yet

2 participants