Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.25k stars 1.93k forks source link

[FEATURE REQ] azure-identity-extensions for PostgreSQL is inneficient #39393

Open paulaustin-automutatio opened 3 months ago

paulaustin-automutatio commented 3 months ago

https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity-extensions

I just wanted to let you know that the way the above is implemented for PostgreSQL is inefficient.

This is due to the way that the postgreSQL driver creates an instance of the authenticator plugin for each connection request.

This means that a new token is requested for each connection request.

I'm just reporting this as a courtesy as I'm not going to be using this code

github-actions[bot] commented 3 months ago

@billwert @g2vinay

github-actions[bot] commented 3 months ago

Thank you for your feedback. Tagging and routing to the team member best able to assist.