Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Source struct { Type string `yaml:"type"` RoleArn string `yaml:"roleArn"` TopicName string `yaml:"topicName"` BucketName string `yaml:"bucketName"` // For S3 Source GroupId string `yaml:"groupId"` // For kafka Source Brokers []string `yaml:"brokers"` } `yaml:"source"` Sink struct { Type string `yaml:"type"` RoleArn string `yaml:"roleArn"` TopicName string `yaml:"topicName"` BucketName string `yaml:"bucketName"` // For S3 Sink Brokers []string `yaml:"brokers"` // For Kafka Sink } `yaml:"sink"` }
type MessageProcessor ¶
type MessageProcessor interface {
Process(message kafka.Message) error
}
type MessageSource ¶
type MessageSource interface {
Fetch(processor MessageProcessor)
}
Click to show internal directories.
Click to hide internal directories.