Giter Site home page Giter Site logo

Comments (7)

Netyyyy avatar Netyyyy commented on September 24, 2024

Hi @joahuber . Thank you for reporting this issue. Could you help provide a minimal project? And we will take a look. We appreciate your input and will review this matter as soon as possible.
Please feel free to provide any additional information or context that you think may be helpful. We'll keep you updated on the progress of our review.

from azure-sdk-for-java.

saragluna avatar saragluna commented on September 24, 2024

@joshfree should this be an Event Grid related issue?

from azure-sdk-for-java.

joahuber avatar joahuber commented on September 24, 2024

@Netyyyy Please find the sample project below. It consists of a single unit test. As soon as you upgrade to version 5.9.0 of the spring-cloud-azure-dependencies dependencies it fails.
CloudEventSample.zip

from azure-sdk-for-java.

Netyyyy avatar Netyyyy commented on September 24, 2024

Hi @joahuber , thanks for your sample. I saw you are using azure-messaging-eventgrid directly which is not managed by spring-cloud-azure-dependencies, so the error is not caused by Spring Cloud Azure and you can remove our bom.
Also, could you check your azure-messaging-eventgrid version? I also encountered this error when upgrading from 4.20.1 to 4.22.1, don't know which version you're using.

@billwert please help take a look

from azure-sdk-for-java.

joahuber avatar joahuber commented on September 24, 2024

Hi @Netyyyy
Sorry for the confusion, we do not need azure-messaging-eventgrid (which seems to be managed by your BOM) but only

<dependency>
      <artifactId>azure-core</artifactId>
      <groupId>com.azure</groupId>
</dependency>

which is pulled in as transitive dependency by azure-messaging-eventgrid. It only seems to happen when upgrading to 5.10 of your BOM.

from azure-sdk-for-java.

Netyyyy avatar Netyyyy commented on September 24, 2024

Hi @Netyyyy Sorry for the confusion, we do not need azure-messaging-eventgrid (which seems to be managed by your BOM) but only

<dependency>
      <artifactId>azure-core</artifactId>
      <groupId>com.azure</groupId>
</dependency>

which is pulled in as transitive dependency by azure-messaging-eventgrid. It only seems to happen when upgrading to 5.10 of your BOM.

OK, @alzimmermsft please help take a look, it occurs when using azure-core 1.46

from azure-sdk-for-java.

alzimmermsft avatar alzimmermsft commented on September 24, 2024

Hi @joahuber, thanks for reporting this, this definitely did break with the release of azure-core:1.46.0.

Within your application would it be possible to use CloudEvent.fromString which returns List<CloudEvent> as a work around for the time being? Or, if you use our JacksonAdapter.createDefaultSerializerAdapter() it should work as well, as a work around.

I'll look into getting this fixed for future releases of azure-core.

from azure-sdk-for-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.