Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KafkaURL, _ = os.LookupEnv("KAFKA_BOOTSTRAP_SERVERS")
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Kadmin *kafka.AdminClient Batch Topic Extract Topic Transform Topic Load Topic }
func NewController ¶
func NewController() Controller
func (Controller) Create ¶
func (ctl Controller) Create(batchID string) error
Create creates topics in Kafka for the current batch
func (Controller) Delete ¶
func (ctl Controller) Delete(batchID string) error
Click to show internal directories.
Click to hide internal directories.