[MM-35077] Add basic support for plugin intra-cluster communication (#17495)
* Add basic support for plugin intra-cluster communication * Some renaming for added clarity * Allow sending cluster event to specific nodes * Improve naming and documentation * Improve logging
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7dc1718c1d
Коммит
6af032d06a
@@ -1113,3 +1113,10 @@ func (api *apiTimerLayer) DeleteCommand(commandID string) error {
|
||||
api.recordTime(startTime, "DeleteCommand", _returnsA == nil)
|
||||
return _returnsA
|
||||
}
|
||||
|
||||
func (api *apiTimerLayer) PublishPluginClusterEvent(ev model.PluginClusterEvent, opts model.PluginClusterEventSendOptions) error {
|
||||
startTime := timePkg.Now()
|
||||
_returnsA := api.apiImpl.PublishPluginClusterEvent(ev, opts)
|
||||
api.recordTime(startTime, "PublishPluginClusterEvent", _returnsA == nil)
|
||||
return _returnsA
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user