~/talk

gRPC and Java Diamond Dependency Conflicts

Talkat gRPC Conf 2020 · on Tuesday, 2020-07-28· at 11:50· Session Room 2,· [java, developer-experience]
links:none on file
slides:none on file

Explains how increasing framework integration creates complex Java dependency graphs that lead to diamond dependency conflicts causing runtime NoSuchMethodError and NoClassDefFoundError for gRPC, GAX, and OpenCensus. Describes the root causes (the anatomy) of these gRPC-related library conflicts and presents Google’s best practices for Java libraries plus how to use Linkage Checker to detect such conflicts in Java projects.

AI-written summary · about

  1. 0:00Start
  2. 0:52Speaker: Tomo Suzuki
  3. 3:11Example 2: NoClassDeffoundError
  4. 3:41Diagnosis for NoSuch MethodError
  5. 5:10Dependency Graph
  6. 6:51Diamond Dependency Conflict
  7. 8:01Maven Dependency Mediation
  8. 8:49Gradle Dependency Mediation
  9. 9:17Question: how to control non-direct rative dependencies?
  10. 10:15Solution: Bill-of-Materials (BOM) to control transitive dependency
  11. 11:34Google Cloud Platform Libraries BOM
  12. 12:59Using GCP Libraries BOM in Maven
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.