Skip to content

Commit

Permalink
fix the bug of consumer group autocreation in binder (#26622)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuTo authored Jan 21, 2022
1 parent b3b129b commit aeb86dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions sdk/spring/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public EventHubConsumerGroup internalCreate(Tuple3<String, String, String> 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())))
Expand Down

0 comments on commit aeb86dc

Please sign in to comment.