-
Notifications
You must be signed in to change notification settings - Fork 12
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: support headers for message #108
Conversation
Signed-off-by: Yashash H L <[email protected]>
Signed-off-by: Yashash H L <[email protected]>
Signed-off-by: Yashash H L <[email protected]>
Signed-off-by: Yashash H L <[email protected]>
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.
document the exposed methods.
@@ -16,4 +16,9 @@ proto: | |||
generate: | |||
go generate ./... | |||
|
|||
.PHONY: image-push-all |
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.
@ayildirim21 please review this makefile target and see if this is something we already worked on as part of the CI improvement task or something we can leverage to simplify our CI script.
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.
Can confrim that the existing script already implements this functionality, just need to run:
./hack/update_examples.sh -bp
Will open a PR to remove this makefile target.
Edit: #109
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.
please do not remove the target, instead let the target run ./hack/update_examples -bp
pkg/reducer/task_manager.go
Outdated
@@ -166,5 +166,5 @@ func generateKey(window *v1.Window, keys []string) string { | |||
} | |||
|
|||
func buildDatum(request *v1.ReduceRequest) Datum { | |||
return NewHandlerDatum(request.Payload.GetValue(), request.Payload.EventTime.AsTime(), request.Payload.Watermark.AsTime()) | |||
return NewHandlerDatum(request.Payload.GetValue(), request.Payload.EventTime.AsTime(), request.Payload.Watermark.AsTime(), request.Payload.Headers) |
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.
GetEventTime, GetWatermark, GetHeaders - same for below
Signed-off-by: Yashash H L <[email protected]>
closes numaproj/numaflow#1586