package
Version:
v0.0.0-...-7d1b39b
Opens a new window with list of versions in this module.
Published: Sep 21, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Reader(reader *kafka.Reader, log *log.Helper,
f func(ctx context.Context, reader *kafka.Reader, msg kafka.Message),
)
Reader 消费者循环
reader 消费者队列
log 日志
f 消息处理函数
func Update(writer *kafka.Writer, key, value string) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.