Skip to content

fix: pass headers to test kit server#118

Merged
vigith merged 1 commit intomainfrom
tk-headers
Apr 17, 2024
Merged

fix: pass headers to test kit server#118
vigith merged 1 commit intomainfrom
tk-headers

Conversation

@yhl25
Copy link
Copy Markdown
Contributor

@yhl25 yhl25 commented Apr 17, 2024

No description provided.

Signed-off-by: Yashash H L <yashashhl25@gmail.com>
@yhl25 yhl25 requested review from KeranYang, vigith and whynowy April 17, 2024 05:50
.setSeconds(data.getWatermark().getEpochSecond())
.setNanos(data.getWatermark().getNano())
.build())
.putAllHeaders(data.getHeaders() == null ? new HashMap<>() : data.getHeaders())
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why is it getting initialized if null?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

proto builder functions throw an exception when we try to assign null values

@yhl25 yhl25 requested a review from nagarajatantry April 17, 2024 16:43
Copy link
Copy Markdown
Contributor

@nagarajatantry nagarajatantry left a comment

Choose a reason for hiding this comment

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

lgtm

@vigith vigith merged commit 79ced9b into main Apr 17, 2024
@vigith vigith deleted the tk-headers branch April 17, 2024 23:50
KeranYang pushed a commit to KeranYang/numaflow-java that referenced this pull request Jan 22, 2025
Signed-off-by: Yashash H L <yashashhl25@gmail.com>
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.

5 participants