-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
choreRefactor, rename, cleanup, etc.Refactor, rename, cleanup, etc.questionFurther information is requestedFurther information is requested
Description
Currently we use Dagger for dependency injection in the Agent and in the main Cryostat 2.x line. Other Cryostat components - cryostat-reports and jfr-datasource - are Quarkus-based and therefore use Quarkus ArC.
Since Cryostat 3 is also Quarkus-based, the Agent will be our only consumer of Dagger. This has some downstream maintenance burden, so we should consider alternatives that have less maintenance burden.
- Try to use Quarkus ArC as well. It's not clear to me at this point how easy this is to actually use without being built with Quarkus to begin with.
- Find another DI library/framework similar to Dagger, but with a simpler build toolchain, fewer dependencies, etc. One option that came up in a cursory search was https://github.com/avaje/avaje-inject . Ideally this would be some other compile time, code generation based and lightweight system, not a heavyweight reflection system, to keep Agent resource footprint small and startup fast.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
choreRefactor, rename, cleanup, etc.Refactor, rename, cleanup, etc.questionFurther information is requestedFurther information is requested
Type
Projects
Status
Backlog