feat kafka 改版 1

This commit is contained in:
2026-01-29 16:20:30 +08:00
parent aa42046fe9
commit defe0b8fff
2 changed files with 83 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ func (t *Timer) Start() {
_, _ = t.c.AddFunc("0/5 * * * ?", func() {
})
t.c.Start()
go startConsumer()
startConsumer()
}
func (t *Timer) Stop() {