Skip to content

Commit

Permalink
fix: eventstreams sarama clientid (#5802)
Browse files Browse the repository at this point in the history
  • Loading branch information
kccox authored Nov 21, 2024
1 parent d20a670 commit f492e62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ibm/service/eventstreams/resource_ibm_event_streams_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"context"
"fmt"
"log"
"os"
"slices"
"strings"
"time"
Expand Down Expand Up @@ -305,7 +304,7 @@ func createSaramaAdminClient(d *schema.ResourceData, meta interface{}) (sarama.C
tenantID := strings.TrimPrefix(strings.Split(adminURL, ".")[0], "https://")

config := sarama.NewConfig()
config.ClientID, _ = os.Hostname()
config.ClientID = "terraform-provider-ibm"
config.Net.SASL.Enable = true
if tenantID != "" && tenantID != "admin" {
config.Net.SASL.AuthIdentity = tenantID
Expand Down

0 comments on commit f492e62

Please sign in to comment.