Skip to content

Shaded Dependencies for Queues? #2964

Closed
@benjchristensen

Description

@benjchristensen

Right now we pull in source code for performant queue implementations (such as here #2963 and here https://github.com/ReactiveX/RxJava/tree/1.x/src/main/java/rx/internal/util/unsafe).

I'd like to explore whether we can put a shaded dependency on things like JCTools (https://github.com/JCTools/JCTools) and Agrona (https://github.com/real-logic/Agrona) along with specific paths to classes we are interested in so we can:

  1. Not need to copy/paste
  2. Show proper attribution through dependencies rather than comments in code
  3. More easily pick up bug fixes
  4. Still only pick up the byte size we want rather than the full libraries
  5. Still remain a single-jar, zero dependency artifact when published to maven central

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions