package kafka import "context" type Topic interface { Name() string OnMessage(context.Context) error }