apache / apache/inlong

[Improve][SDK] Support configuring request timeout in the DataProxy Go SDK discoverer

Open Beginner friendly
#12,203 0 comments 0 reactions 0 assignees View on GitHub
type/improve
Dominant language
Java
Stars
1.5k
Forks
572
Avg merge
22h 7m
Merged PRs (30d)
8

Description

### Description

In the Dataproxy Go SDK, the discoverer's HTTP requests to the Manager have no timeout configured, so they can hang indefinitely when the Manager is slow or unreachable.

### InLong Component

InLong SDK

### Are you willing to submit PR?

- [x] Yes, I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Research direction

Locate the DataProxy Go SDK discoverer and trace the HTTP requests it sends to the Manager. Check how request configuration is handled, then verify that a configured timeout is applied and that slow or unreachable Manager requests no longer hang indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.