[英]Use Azure Storage Emulator for Dapr Local Development
For local development / debugging we setup our Dapr Components to run with docker-compose.对于本地开发/调试,我们将 Dapr 组件设置为与 docker-compose 一起运行。 One of the components uses an Azure Event Hub Input Binding .
其中一个组件使用Azure 事件中心输入绑定。 To keep the event streams separat per developer we created dedicated Consumer Groups and dedicated Storage Containers to store the Checkpoints.
为了保持每个开发人员的事件流分开,我们创建了专用的消费者组和专用的存储容器来存储检查点。
I would like to use the Azure Storage Emulator for the local development scenario to simplify the development setup.我想将 Azure Storage Emulator 用于本地开发方案以简化开发设置。 However the Storage Container Configuration only allows to configure storageAccountName, storageAccountKey and storageContainerName.
但是存储容器配置只允许配置 storageAccountName、storageAccountKey 和 storageContainerName。
Is there any chance to configure the Dapr Event Hub Binding to use Azure Storage Emulator instead of cloud hosted storage accounts ?是否有机会将 Dapr 事件中心绑定配置为使用 Azure 存储模拟器而不是云托管存储帐户?
I found out, that this request has already been raised in 2020 but it's not possible at the moment.我发现,这个请求已经在 2020 年提出了,但目前不可能。
https://github.com/dapr/components-contrib/issues/279 https://github.com/dapr/components-contrib/issues/279
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.