Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I propose introducing a new interface: Monitorable. If a plugin implements this interface, the withPluginMetrics() method will be called when the plugin is instantiated (after configure() if the plugin also implements Configurable). This will allow plugins to adds their own metrics to the component (broker, producer, consumer, etc) that instantiated them.

...