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.26k stars 1.94k forks source link

[Event Hubs] Emulator connection string support #38734

Open jsquire opened 5 months ago

jsquire commented 5 months ago

Summary

The Azure Messaging team is working on a service emulator intended to provide a local development experience. To reduce friction for developers, the emulator will be using connections without TLS so that certificates do not need to be managed. To support this flow, the emulator will emit a connection string that contains an identifying slug to indicate to clients that they should not use TLS and should restrict communication to the local environment.

Emulator connection string slug:

;UseDevelopmentEmulator=true

Full example:

Endpoint=localhost:6765;SharedAccessKeyName=<< REDACTED >>;SharedAccessKey=<< REDACTED >>;UseDevelopmentEmulator=true

Scope of work

Out of scope

Success Criteria

References and related

jsquire commented 5 months ago

//cc: @conniey, @anuchandy, @lmolkova

eddumelendez commented 1 month ago

Hi, this will unblock adding Service Connection support for EventHub using Testcontainers. See #40329. Looking forward to it