linkerd/linkerd

Linkerd lifecyle hooks for Identifiers

Open

#1,168 建立於 2017年3月29日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Scala (5,324 star) (496 fork)batch import
help wanted

描述

There are use cases when building custom Identifiers to create some sort of initial state (create connections to db, etc) It would be nice to have linkerd lifecycle status propagated to the identifiers, so they can do the creation and release of resources efficiently

I am thinking something like

trait LinkerdLifecycle {
  def onStart() = {}
  def onStop() = {}
}

that Identifiers can build on top of it.

貢獻者指南