Code Monkey home page Code Monkey logo

Comments (10)

llinder avatar llinder commented on May 31, 2024 2

Started a release of 2.4.0.

Part of the reason for making some of these things private is to avoid breaking things if we decided to change internal pieces. Also it forces us to look at the reason the work around is necessary and try to solve it in a way that doesn't require work arounds. Fortunately in this case Ratpack 1.6 added what we always needed and @beckje01 was quick to address this.

@garadox do you feel that the ExecInitializer will solve problems you have with Ratpack Observables?

from brave-ratpack.

devinsba avatar devinsba commented on May 31, 2024

I understand not wanting to have to rely on reflection for things, in lieu of help from a Ratpack expert there are a couple things I can see that might work. There is a deprecated method on RatpackCurrentTraceContext that you could use instead of having to rely on reflection: RatpackCurrentTraceContext.wrap(TraceContext)

I'm also seeing maybe wrapping your Execution.current() with: TracingPropagationExecInitializer.init(Execution) would do what you are looking for.

from brave-ratpack.

garadox avatar garadox commented on May 31, 2024

Is TracingPropagationExecInitializer a new class? I'm not finding that class in this repo or in the main brave repo.

from brave-ratpack.

devinsba avatar devinsba commented on May 31, 2024

Sorry, its an sub-class (internal?) in RatpackCurrentTraceContext

from brave-ratpack.

garadox avatar garadox commented on May 31, 2024

Hmm, i'm not seeing that class in version 2.3.2 .

from brave-ratpack.

garadox avatar garadox commented on May 31, 2024

It was added Jan 4th, but 2.3.2 was released Jan 2nd.

from brave-ratpack.

kirenjolly avatar kirenjolly commented on May 31, 2024

@hyleung @llinder @adriancole @beckje01 Can you make a new release of the Current master branch code with TracingPropagationExecInitializer.init(Execution) ASAP. Since Our application in production is using Ratpack and Kotlin and are facing issues as TraceContext is not propagated properly and doesn't have any public functions to manually update TraceContext in TraceContextHolder .

from brave-ratpack.

llinder avatar llinder commented on May 31, 2024

Release of 2.4.0 is done. Just waiting on Maven Central to update with the synced artifacts.

from brave-ratpack.

garadox avatar garadox commented on May 31, 2024

@llinder Yes, I believe the ExecInitializer will address my current workaround (It's use of execution.maybeParent and being non-private is the key).

from brave-ratpack.

garadox avatar garadox commented on May 31, 2024

Ah, I just realized the Ratpack 1.6 dependency. We can't test this yet but i'll close the issue and come back once we've upgraded if there are still issues.

from brave-ratpack.

Related Issues (13)

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.