Open jsquire opened 9 months ago
//cc: @kashifkhan, @l0lawrence, @swathipil
Hey @jsquire, do you know if there is any updates to this? The service bus emulator is now publicly available, but without connection string support it remains unusable for python developers unfortunately. Would love to use it :) Thank you so much!
@kashifkhan, @swathipil, @l0lawrence: Has this been completed or is there still work pending?
There is still work pending on it, but as soon as we have it out Ill update this thread.
For anyone as incredibly curious and eager as I have been, you can already get it working with latest commits on this repo. Alternatively, you can take the currently released version and disable TLS with a workaround:
from azure.servicebus._pyamqp import AMQPClient
# Disable TLS. Workaround for https://github.com/Azure/azure-sdk-for-python/issues/34273
org_init = AMQPClient.__init__
def new_init(self, hostname, **kwargs):
kwargs["use_tls"] = False
org_init(self, hostname, **kwargs)
AMQPClient.__init__ = new_init
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:
Full example:
Scope of work
Out of scope
Success Criteria
localhost
, IPv4, and IPv6 forms.References and related