Skip to content

Commit

Permalink
Merge branch 'master' into rafal/configurable-retry-processing
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko authored Feb 11, 2025
2 parents 0da47be + 66ab0f9 commit cbfb189
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/livepeer/starter/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ func startKafkaProducer(cfg LivepeerConfig) error {
return nil
}

var broadcasterEthAddress = ""
if cfg.EthAcctAddr != nil {
broadcasterEthAddress = *cfg.EthAcctAddr
var gatewayHost = ""
if cfg.GatewayHost != nil {
gatewayHost = *cfg.GatewayHost
}

return lpmon.InitKafkaProducer(
*cfg.KafkaBootstrapServers,
*cfg.KafkaUsername,
*cfg.KafkaPassword,
*cfg.KafkaGatewayTopic,
broadcasterEthAddress,
gatewayHost,
)
}

0 comments on commit cbfb189

Please sign in to comment.