Skip to content

Improve Java HTTP client integration#1206

Merged
mtdowling merged 2 commits into
mainfrom
improve-http-client
May 23, 2026
Merged

Improve Java HTTP client integration#1206
mtdowling merged 2 commits into
mainfrom
improve-http-client

Conversation

@mtdowling
Copy link
Copy Markdown
Member

Use buffers as-is without copying, add support for direct buffers to Jackson codec, improve HTTP header wrapper to use underlying data more, improve how we send data to Java client by adding a small adapter to avoid double-wrapping the publisher

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mtdowling mtdowling enabled auto-merge (rebase) May 22, 2026 17:10
@mtdowling mtdowling force-pushed the improve-http-client branch from b5340da to 2a04fa7 Compare May 22, 2026 22:04
Use buffers as-is without copying, add support for direct buffers to
Jackson codec, improve HTTP header wrapper to use underlying data more,
improve how we send data to Java client by adding a small adapter to
avoid double-wrapping the publisher
@adwsingh adwsingh force-pushed the improve-http-client branch from 2a04fa7 to 55291a1 Compare May 22, 2026 22:06
*/
private static void setDefaultTuningProperties() {
setIfUnset("jdk.httpclient.maxframesize", "65536");
setIfUnset("jdk.httpclient.maxstreams", "1024");
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 did we remove this and switch to the default of 100?

@mtdowling mtdowling merged commit 892f924 into main May 23, 2026
6 checks passed
@mtdowling mtdowling deleted the improve-http-client branch May 23, 2026 01:01
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.

2 participants