func FailedAttemptCallback(task *kafka.Task, result kafka.WorkerResult) kafka.FailedDecision { kafka.Info("main", "Failed attempt") return kafka.CommitOffsetAndContinue }
func FailedCallback(wm *kafka.WorkerManager) kafka.FailedDecision { kafka.Info("main", "Failed callback") return kafka.DoNotCommitOffsetAndStop }