提交 22db5b64 编写于 作者: 冉小龙 提交者: Matteo Merli

[issue:4537] Fix doc error of producer options (#4571)

Signed-off-by: Nxiaolong.ran <ranxiaolong716@gmail.com>
上级 ebde4dcb
......@@ -193,7 +193,7 @@ func main() {
producer.SendAsync(ctx, asyncMsg, func(msg pulsar.ProducerMessage, err error) {
if err != nil { log.Fatal(err) }
fmt.Printf("Message %s succesfully published", msg.ID())
fmt.Printf("the %s successfully published", string(msg.Payload))
})
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册