Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ private Future<?> send(final CloudEvent event, final Promise<HttpResponse<Buffer
return VertxMessageFactory
.createWriter(client.postAbs(target)
.timeout(this.consumerVerticleContext.getEgressConfig().getTimeout() <= 0 ? DEFAULT_TIMEOUT_MS : this.consumerVerticleContext.getEgressConfig().getTimeout())
.putHeader("Prefer", "reply"))
.putHeader("Prefer", "reply")
.putHeader("Kn-Namespace", this.consumerVerticleContext.getEgress().getReference().getNamespace())

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.

so we set it all the time.

but benefit from it on the "mesh case", since we can use that for filtering/tweaking ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes

)
.writeBinary(event)
.onFailure(ex -> {
logError(event, ex);
Expand Down