Documentation
¶
Index ¶
Constants ¶
View Source
const ( TopicRecipes = "recipes" TopicIngredients = "ingredients" TopicNutritionFacts = "nutritionfacts" TopicIngredientsReq = "ingredients.req" )
View Source
const (
KeyCorrelationID = "correlation_id"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(nutritionService service.Service, kafkaBrokerURLs string) (controller.Controller, error)
Types ¶
type RecipeWorker ¶
type RecipeWorker struct {
// contains filtered or unexported fields
}
func (RecipeWorker) Stop ¶
func (w RecipeWorker) Stop() error
Click to show internal directories.
Click to hide internal directories.