Skip to content

Consider removing Guava #212

@abelsromero

Description

@abelsromero

In light of recent issues with wavefront-spring-boot maybe it would be good to consider removing guava from dependencies of this project too. This would alleviate packaging size and remove any need of shading.

I checked and it's using:

  • @VisibleForTesting
  • Throwables.getRootCause
  • Maps.newHashMap()
  • Strings.isNullOrEmpty
  • com.google.common.cache.*
  • RateLimiter

All but last 2 I think could easily be replaced by standard components & refactors.
For RateLimiting we could look into resilience4j, for cache I don't have any suggestion. But we could start removing the first ones at least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions