Giter Club home page Giter Club logo

Comments (6)

ahus1 avatar ahus1 commented on June 8, 2024

Tom did a really go migration to JDK8. But I see that Hystrix and Prometheus both still support JDK6.

I used the IDE to make the code compile and run on JDK6+ -- it adds quite a lot of code, but I think this is the way to go as both support JDK6. But I still felt a bit bad to do this...

I pushed some changes (actually quite some changes). A new snapshot release is now available in the snapshot repository as 3.3.2-SNAPSHOT.

Please give it a try and tell me if how this works for you.

from prometheus-hystrix.

stoneliyi avatar stoneliyi commented on June 8, 2024

Hi @ahus1, thanks a lot for your quick response and changes. really appreciated! I am trying it now and will let you know if it works.

from prometheus-hystrix.

stoneliyi avatar stoneliyi commented on June 8, 2024

Hi @ahus1, i have given 3.3.2-SNAPSHOT a try. it works fine with java 7. Awesome!

for now, we can just use 3.3.2-SNAPSHOT with snapshot repository. is there any plan to make 3.3.2 or new versions java 6 or 7 compatible and publish to maven central?

from prometheus-hystrix.

ahus1 avatar ahus1 commented on June 8, 2024

I'll release a version 3.4.0 to maven central that include this "feature". I plan to add some more build automation first. Expect it some time next week.

JDK6/JDK7 will stay with this library as long as Prometheus Java Client and Hystrix also stay on JDK6/JDK7. Once one of them changes, this library will change as well.

from prometheus-hystrix.

stoneliyi avatar stoneliyi commented on June 8, 2024

@ahus1 thanks. it makes sense to make it jdk6/jdk7 compatible as long as its dependencies Prometheus and Hystrix are jdk6/jdk7 compatible.

will check out 3.4.0 next week!

from prometheus-hystrix.

ahus1 avatar ahus1 commented on June 8, 2024

This has been released as version 3.4.0 and should be available on Maven Central soon. I added another code change to have the labels in the same order in both JDK7 and JDK8 - please re-test when using the released version.

from prometheus-hystrix.

Related Issues (17)

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.