A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
Removed connection string configuration when using MI auth, vice versa.
Because when using MI, it still firstly try to get connection string (empty string), and failed to parse.
Small fix for connection string configuration: SPRING_CLOUD_AZURE_EVENTHUBS_CONNECTIONSTRING -> SPRING_CLOUD_AZURE_EVENTHUBS_CONNECTION_STRING.
Open issue:
When user has already specified auth (connection string / MI), but selected the different one when azd init (we will inject the configuration for application), maybe this inconsistent configuration does NOT make app running.
TODO:
Better to detect the existing EventHub resource configuration in application.yaml, instead of always creating a new one.
Feature:
pom.xml
andapplication.yaml
azd init
andazd up
.Fix:
SPRING_CLOUD_AZURE_EVENTHUBS_CONNECTIONSTRING
->SPRING_CLOUD_AZURE_EVENTHUBS_CONNECTION_STRING
.Open issue:
azd init
(we will inject the configuration for application), maybe this inconsistent configuration does NOT make app running.TODO:
application.yaml
, instead of always creating a new one.