Comments (13)
@saragluna we know that adding this entity-type property is not hard. Our problem is the scale of this. We have many different services on our platform, and our clients can define their own services. For us and them, this would be a huge inconvenience. For now, we are looking into options to hack this. (adding the property dynamically ). However, it would be really important for us to have a property that defines the entity-type by default.
from azure-sdk-for-java.
@saragluna could you please help route @fredysierra's issue
from azure-sdk-for-java.
Hi @fredysierra , thanks for reaching out, we will take a look
from azure-sdk-for-java.
Hi @fredysierra , sorry for the inconvenience, spring.cloud.azure.servicebus.producer.entity-type
and spring.cloud.azure.servicebus.consumer.entity-type
doesn't work for bindings, please use spring.cloud.stream.servicebus.bindings.<binding-name>.consumer.entity-type
or spring.cloud.stream.servicebus.bindings.<binding-name>.producer.entity-type
instead, see Spring Cloud Stream support for more info.
If you use ARM to connect, it's necessary to configure each consumer or producer clearly, it's by design for provision resources and here is a sample. Or you use other way such connection-string, only need to configure
entity-type for producer.
from azure-sdk-for-java.
Hi @fredysierra. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
from azure-sdk-for-java.
Hi @fredysierra , sorry for the inconvenience,
spring.cloud.azure.servicebus.producer.entity-type
andspring.cloud.azure.servicebus.consumer.entity-type
doesn't work for bindings, please usespring.cloud.stream.servicebus.bindings.<binding-name>.consumer.entity-type
orspring.cloud.stream.servicebus.bindings.<binding-name>.producer.entity-type
instead, see Spring Cloud Stream support for more info.If you use ARM to connect, it's necessary to configure each consumer or producer clearly, it's by design for provision resources and here is a sample. Or you use other way such connection-string, only need to configure entity-type for producer.
Thank you so much for your answer. Considering this is a breaking change, it is frustrating that it was introduced in a minor upgrade version. As I mentioned to you, specifying entity-type per binder is a big inconvenience as we have a large number of producers and consumers in our product and our clients can define their own.
from azure-sdk-for-java.
Hi @fredysierra , it's an enhancement because in the past, it won't check if the entity-type is null
As for the second question, @saragluna should we add a new feature for configuring one entity-type and all consumers and producers can use it?
from azure-sdk-for-java.
Sorry for the inconvenience, @fredysierra. Could you help share your configuration file? Setting on the producer/consumer is actually an intuitive way.
from azure-sdk-for-java.
@fredysierra may I ask whether you are using the ServiceBus binder to provison your queue or topic?
from azure-sdk-for-java.
yes @saragluna We do use the binder to provision those.
from azure-sdk-for-java.
@fredysierra we'll try to fix this.
from azure-sdk-for-java.
Will fix it by enabling the default value by setting "spring.cloud.stream.servicebus.default.producer|consumer.xxx", which will be picked up as the default value of "spring.cloud.stream.servicebus.bindings.<channel-name>.producer|consumer.xxx".
from azure-sdk-for-java.
Fixed in Spring Cloud Azure 5.11/4.17
from azure-sdk-for-java.
Related Issues (20)
- Create a CosmosClient fails, because of the usage of deprecated field of jackson.core in Utils.java HOT 5
- NullPointerException HOT 3
- Update Identity blurbs in readmes HOT 2
- Improve Azure AI Inference tracing and implement metrics
- Observability: uber [Se] task
- Intermediate certificate not loaded from the keyvault using JCA in tomcat HOT 3
- Remove context-based AZ_TRACING_NAMESPACE_KEY propagation in tables and form recognizer
- New CosmosClient(s) created every 5 minutes? HOT 2
- Incorrect SharedTokenCacheCredential docs
- [FEATURE REQ]Port PR from .Net to support multiple region names HOT 1
- [BUG] io.netty.channel.ConnectTimeoutException after one minute of running
- [BUG] Azure Service Bus Spring Cloud Stream isolated-object-mapper property HOT 2
- Perf dashboard review/overhaul
- Cleanup old autorest config flags from swagger/README.md
- Address Resolution bug on a removed region HOT 1
- Intellij Azure SDK Plugin
- Improve Javadoc for partner teams.
- Clean out the SDK repository
- Simplified build process
- Message acknowledgement process taking long time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-java.