You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Matt Topol (Jira)" <ji...@apache.org> on 2020/10/15 18:09:00 UTC

[jira] [Created] (ARROW-10319) [Flight][Go] Add Context to Client Auth Handler functions for Flight

Matt Topol created ARROW-10319:
----------------------------------

             Summary: [Flight][Go] Add Context to Client Auth Handler functions for Flight
                 Key: ARROW-10319
                 URL: https://issues.apache.org/jira/browse/ARROW-10319
             Project: Apache Arrow
          Issue Type: Improvement
          Components: FlightRPC, Go
            Reporter: Matt Topol
            Assignee: Matt Topol


During my usage I found that if i wanted to reuse an existing flight client that required authentication, it was difficult to reuse the auth handler since there wasn't a way to tell which goroutine / which auth made a particular request. By passing the context to the client auth handler it allows passing information to the auth handler via the context which could then be utilized by consumers in order to reuse a auth handler so that an entire flight client could be shared across multiple goroutines if desired.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)