Skip to content

Commit

Permalink
Added missing comas in the class params (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanginn authored May 25, 2022
1 parent de69413 commit 92ec2f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/advanced-usage/3-sasl-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ passing a `Junges\Kafka\Config\Sasl` instance as the argument:
$consumer = \Junges\Kafka\Facades\Kafka::createConsumer()
->withSasl(new \Junges\Kafka\Config\Sasl(
password: 'password',
username: 'username'
mechanisms: 'authentication mechanism'
username: 'username',
mechanisms: 'authentication mechanism',
));
```

Expand All @@ -22,7 +22,7 @@ You can also set the security protocol used with sasl. It's optional and by defa
$consumer = \Junges\Kafka\Facades\Kafka::createConsumer()
->withSasl(new \Junges\Kafka\Config\Sasl(
password: 'password',
username: 'username'
username: 'username',
mechanisms: 'authentication mechanism',
securityProtocol: 'SASL_SSL',
));
Expand Down

0 comments on commit 92ec2f1

Please sign in to comment.