Skip to content

chore(http client): Make HttpClient generic over connector#25742

Open
guilload wants to merge 1 commit into
masterfrom
guilload/http-client-over-generic-connector
Open

chore(http client): Make HttpClient generic over connector#25742
guilload wants to merge 1 commit into
masterfrom
guilload/http-client-over-generic-connector

Conversation

@guilload

@guilload guilload commented Jul 2, 2026

Copy link
Copy Markdown

Summary

This PR makes the HttpClient generic over the connector (hyper::client::connect::Connect) so it can be customized to support use cases that are not relevant to the broader OSS community.

Change Type

Non-functional refactoring.

Is this a breaking change?

This is a non-functional change. Call sites remain unchanged and the current connector remains the default one.

Does this PR include user facing changes?

No.

@guilload guilload requested a review from a team as a code owner July 2, 2026 15:26
@github-actions github-actions Bot added the domain: sinks Anything related to the Vector's sinks label Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@datadog-vectordotdev

datadog-vectordotdev Bot commented Jul 2, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 816d695 | Docs | Give us feedback!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8a475bcf19

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/http.rs
@guilload guilload changed the title refactor(http client) Make HttpClient generic over connector chore(http client) Make HttpClient generic over connector Jul 2, 2026
@pront pront added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Jul 2, 2026
@guilload

guilload commented Jul 2, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@thomasqueirozb thomasqueirozb changed the title chore(http client) Make HttpClient generic over connector chore(http client): Make HttpClient generic over connector Jul 2, 2026
@guilload guilload force-pushed the guilload/http-client-over-generic-connector branch from 8a475bc to f82c41c Compare July 2, 2026 19:25
@guilload guilload force-pushed the guilload/http-client-over-generic-connector branch from f82c41c to 816d695 Compare July 2, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: sinks Anything related to the Vector's sinks no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants