Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobConsumer ¶
type JobConsumer struct {
// contains filtered or unexported fields
}
JobConsumer consumed jobs messages from a Kafka topic and send them as HTTP POST request.
func NewJobConsumer ¶
func NewJobConsumer() (*JobConsumer, error)
NewJobConsumer returns a new job consumer.
func (*JobConsumer) Worker ¶
func (jc *JobConsumer) Worker(id int)
Worker is the main goroutine that is calling handleMsg
Click to show internal directories.
Click to hide internal directories.