feat kafka 改版 2
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package kafka
|
||||
|
||||
import "context"
|
||||
|
||||
type Topic interface {
|
||||
Name() string
|
||||
OnMessage(context.Context) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user