Python SDK: expose get_connection_info
Maintainers usually reply within 2 days
Assessment
This issue has not been assessed yet.
Description
Description
This issue tracks B37 in #3893. A Python client can connect to a follower over TCP and discover that another node is the metadata leader. The Rust SDK exposes the selected address through get_connection_info(), but Python callers cannot inspect it.
@jiengup gave me the go-ahead to work on B37 in the tracking issue. Could a maintainer assign this issue to me (@QwQBiG)?
Affected area / component
Python SDK
Proposed solution
Expose await client.get_connection_info() on IggyClient. Each call returns a read-only ConnectionInfo with two fields:
protocolis the transport name (tcp,quic,ws, orhttp).server_addressis the metadata leader’s address once the client knows it, or the bootstrap or configured address until then. For HTTP, it is the API URL.
Add a Python binding test that checks both fields for all four transports.
Alternatives considered
No response
Contribution
- I'm willing to submit a pull request to implement this feature
Good first issue
- I think this could be a good first issue for a new contributor
- Dominant language
- Rust
- Stars
- 5.3k
- Forks
- 548
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 194
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/iggy
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 2 days
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
good first issue java test
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
good first issue javascript test
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
Similar issues
-
bug triaged tui ux wontfix
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
bevyengine/bevy#26642 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day