func (k *kafka) PublishEvent( signal op.Signaler, opts outputs.Options, event common.MapStr, ) error { mode, err := k.getMode(opts) if err != nil { return err } return mode.PublishEvent(signal, opts, event) }
func (k *kafka) PublishEvent( signal op.Signaler, opts outputs.Options, data outputs.Data, ) error { mode, err := k.getMode(opts) if err != nil { return err } return mode.PublishEvent(signal, opts, data) }