apache / apache/arrow-cookbook

[Flight] Find client address from ArrowFlightServer

Open
#196 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
108
Forks
49
Avg merge
2h 14m
Merged PRs (30d)
1

Description

We want a cookbook entry for Python/C++/Java describing how to get Arrow Flight Server client's address.
* [Java](https://stackoverflow.com/a/36140002/262727)
* [Python](https://arrow.apache.org/docs/python/generated/pyarrow.flight.ServerCallContext.html#pyarrow.flight.ServerCallContext.peer)
* [C++](https://arrow.apache.org/docs/cpp/api/flight.html#_CPPv4NK5arrow6flight17ServerCallContext4peerEv)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked Java, Python, and C++ references for ServerCallContext.peer and inspect the cookbook's existing Flight entries to find the appropriate location and format. Add a cookbook example covering how to obtain the client's address in all three languages, with the documented result matching each API's behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, java, python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.