diff --git a/sdk/spring/CHANGELOG.md b/sdk/spring/CHANGELOG.md index 756e1eb03b052..f6a146a895241 100644 --- a/sdk/spring/CHANGELOG.md +++ b/sdk/spring/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 4.0.0-beta.4 (Unreleased) + +### Spring Cloud Azure Resource Manager +This section includes changes in the `spring-cloud-azure-resourcemanager` module. + +#### Bugs Fixed +- Fix the bug that the auto-created consumer group takes the name of Event Hub [#26622](https://github.com/Azure/azure-sdk-for-java/pull/26622). + +### Other Changes + ## 4.0.0-beta.3 (2022-01-18) Please refer to [Spring Cloud Azure Migration Guide for 4.0](https://microsoft.github.io/spring-cloud-azure/4.0.0-beta.3/4.0.0-beta.3/reference/html/appendix.html#migration-guide-for-4-0) to learn how to migrate to version 4.0. diff --git a/sdk/spring/spring-cloud-azure-resourcemanager/src/main/java/com/azure/spring/resourcemanager/implementation/crud/EventHubsConsumerGroupCrud.java b/sdk/spring/spring-cloud-azure-resourcemanager/src/main/java/com/azure/spring/resourcemanager/implementation/crud/EventHubsConsumerGroupCrud.java index 8c811e1e0eed1..7f6dba82cc68a 100644 --- a/sdk/spring/spring-cloud-azure-resourcemanager/src/main/java/com/azure/spring/resourcemanager/implementation/crud/EventHubsConsumerGroupCrud.java +++ b/sdk/spring/spring-cloud-azure-resourcemanager/src/main/java/com/azure/spring/resourcemanager/implementation/crud/EventHubsConsumerGroupCrud.java @@ -54,7 +54,7 @@ public EventHubConsumerGroup internalCreate(Tuple3 consu return this.resourceManager .eventHubs() .consumerGroups() - .define(consumerGroupCoordinate.getT2()) + .define(consumerGroupCoordinate.getT3()) .withExistingEventHub(new EventHubsCrud(this.resourceManager, this.resourceMetadata) .getOrCreate(Tuples.of(consumerGroupCoordinate.getT1(), consumerGroupCoordinate.getT2())))