When you create a Channel, multiple RPCs on that Channel can use the same TCP connection.
amlweems
Is there a way to create a plugin that automatically authenticates call credentials (on the server)
ejona
embark: But connection pools commonly have a method to get a cached connection to various endpoints; Channel is only for one endpoint
amlweems: Which language are you using?
amlweems
Python
I've got a wrapper that adds call creds to the client
And I'm trying to find the best way to verify on the server. Currently, I'm just using a decorator on all RPC functions
ejona
amlweems: I don't know. I'm asking around.
amlweems
thanks!
bhcleek has quit
atash joined the channel
ejona
embark: What are you wanting to know about the connection pooling? A more specific concern I can probably answer more directly
atash
amlweems: unfortunately you need to do that authentication yourself; I don't believe we have any hooks in gRPC Python to centralize such authentication on the server side
derferma_ has quit
embark
ejona: thanks for the help -- I'm currently processing your answer and looking back at my requirements. Just a moment
amlweems
atash: do you know if there are plans to implement this?
derferman joined the channel
atash
amlweems: that doesn't bar it from being something we'll consider looking at in the future; I believe that'd be a purely additive change and up for discussion
amlweems: actually, I might have spoken too soon; gimme a minute...
amlweems: yeah, to my knowledge that's not currently there
amlweems
gotcha. Is it currently planned? ;)
atash
amlweems: not yet. We hadn't considered it yet and as it's an API change it needs at least a *little* discussion with someone who's currently on vacation.
amlweems: buuut, I'll file an issue for you to follow