grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

[xDS] A65 mTLS credentials in bootstrap (part1)

Open Zgoda91 opened this issue 3 months ago • 0 comments

implementing gRFC A65 proposal/pull/372.

This change contains:

  1. New aggregate ResourceAllocatingChannelCredentials class that holds a ChannelCredentials instance and associated list of Closeable objects representing resources allocated during given ChannelCredentials instantiation. Its main purpose is to maintain resource handles and allow the client class to release them when they are no longer needed.
  2. Postponed ChannelCredentials instantiation. Now the lifetime of ChannelCredentials object is bounded to the GrpcXdsTransport instance. When the transport layer is no longer needed we can safely release any resources allocated during ChannelCredentials creation.

Zgoda91 avatar Sep 10 '25 13:09 Zgoda91