mirror of
https://github.com/fhmq/hmq.git
synced 2026-05-02 14:28:34 +00:00
update key
This commit is contained in:
@@ -89,7 +89,7 @@ func Publish(e *plugins.Elements) {
|
||||
log.Error("error action: ", zap.String("action", e.Action))
|
||||
return
|
||||
}
|
||||
key = e.Username
|
||||
key = e.ClientID
|
||||
err := publish(topic, key, e)
|
||||
if err != nil {
|
||||
log.Error("publish kafka error: ", zap.Error(err))
|
||||
|
||||
Reference in New Issue
Block a user