-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[BUG] The base level event-hub-name property should be overridden when sub-level event-hub-name property configured #43593
Copy link
Copy link
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event Hubsazure-springAll azure-spring related issuesAll azure-spring related issuesbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Milestone
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event Hubsazure-springAll azure-spring related issuesAll azure-spring related issuesbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Type
Projects
Status
In Progress
Describe the bug
When using the
spring-cloud-azure-starter-eventhubsdependency, if I specify the properties in the application.yaml as follows, I think the expected result is that theevent-hub-namein theproducerandconsumersection will override the baseevent-hub-name, that is, the application will eventually use theaaaaevent hub, notbbbb.But for the following code,
The application logs show that it still use
bbbb, not theaaaa, which is inconsistent as above expectation.Exception or Stack Trace
No exception, just inconsistent behavior.
To Reproduce
Steps to reproduce the behavior:
Run this repo code: https://github.com/haoozhang/spring-cloud-azure-starter-eventhubs-sample
Code Snippet
Add the code snippet that causes the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
spring-cloud-azure-starter-eventhubs5.18.0If you suspect a dependency version mismatch (e.g. you see
NoClassDefFoundError,NoSuchMethodErroror similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:mvn dependency:tree -Dverbose)Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report