send log
This commit is contained in:
+2
-1
@@ -46,9 +46,10 @@ func PulsarSend(data string) error {
|
||||
Payload: []byte(data),
|
||||
})
|
||||
if err == nil {
|
||||
Log.Info("send ", zap.Any("id", id))
|
||||
Log.Info("send to pulsar", zap.Any("id", id))
|
||||
break
|
||||
}
|
||||
Log.Error("error in produce message", zap.Error(err))
|
||||
closeClient()
|
||||
create()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user