Documentation ¶
Index ¶
- Constants
- type Config
- type Meta
- type MetricsWriter
- type Plugin
- func (p *Plugin) Boot(conf interface{}, dependencies ...interface{}) plugins.Plugin
- func (p *Plugin) Close() error
- func (p *Plugin) EnableMetrics(metrics MetricsWriter)
- func (p *Plugin) IsEnabled() bool
- func (p *Plugin) Name() string
- func (p *Plugin) ReadFromTopic(topic string, consumerGroupID string, messageC chan kafka.Message)
- func (p *Plugin) Start() error
- func (p *Plugin) WriteToTopic(topic string, key string, value string) error
Constants ¶
View Source
const Name = "kafka"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type MetricsWriter ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) EnableMetrics ¶
func (p *Plugin) EnableMetrics(metrics MetricsWriter)
func (*Plugin) ReadFromTopic ¶
Click to show internal directories.
Click to hide internal directories.