Skip to content

Commit

Permalink
Revert "wip: docs"
Browse files Browse the repository at this point in the history
This reverts commit f219cc1.
  • Loading branch information
mateusjunges committed Jan 9, 2024
1 parent a35fa40 commit a0a0e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
15 changes: 1 addition & 14 deletions docs/3-installation-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,6 @@ return [
*/
'brokers' => env('KAFKA_BROKERS', 'localhost:9092'),

/*
| Default security protocol
*/
'securityProtocol' => env('KAFKA_SECURITY_PROTOCOL', 'PLAINTEXT'),

/*
| Default sasl configuration
*/
'sasl' => [
'mechanisms' => env('KAFKA_MECHANISMS', 'PLAINTEXT'),
'username' => env('KAFKA_USERNAME', null),
'password' => env('KAFKA_PASSWORD', null)
],

/*
| Kafka consumers belonging to the same consumer group share a group id.
| The consumers in a group then divides the topic partitions as fairly amongst themselves as possible by
Expand Down Expand Up @@ -95,4 +81,5 @@ return [
*/
'cache_driver' => env('KAFKA_CACHE_DRIVER', env('CACHE_DRIVER', 'file')),
];

```
2 changes: 1 addition & 1 deletion docs/advanced-usage/2-graceful-shutdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $consumer = Kafka::createConsumer(['topic'])
->build()
->onStopConsuming(static function () {
// Do something when the consumer stop consuming messages
});
})

$consumer->consume();
```
Expand Down

0 comments on commit a0a0e09

Please sign in to comment.