create producer
This commit is contained in:
@@ -89,6 +89,9 @@ func start() {
|
||||
if tcp {
|
||||
go utils.Listen(socketAddress)
|
||||
}
|
||||
if pulsar {
|
||||
utils.CreateProducer(pulsarUrl, topic, name)
|
||||
}
|
||||
for utils.ServerRunning {
|
||||
if !utils.IsPortOpen() {
|
||||
logger.Info("try to open port")
|
||||
|
||||
Reference in New Issue
Block a user