Skip to content

Commit

Permalink
Fix Transport SASL configuration (segmentio#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
PzaThief authored Apr 12, 2022
1 parent 3049a65 commit 886284f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ if err != nil {
// it's generally best to create a few of these and share them across your
// application.
sharedTransport := &kafka.Transport{
SASLMechanism: mechanism,
SASL: mechanism,
}

w := kafka.Writer{
Expand All @@ -692,7 +692,7 @@ if err != nil {
// it's generally best to create a few of these and share them across your
// application.
sharedTransport := &kafka.Transport{
SASLMechanism: mechanism,
SASL: mechanism,
}

client := &kafka.Client{
Expand Down

0 comments on commit 886284f

Please sign in to comment.