Skip to content

Commit 46b60cd

Browse files
committed
Update README.md
1 parent 6f5fb2f commit 46b60cd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This middleware requires a serializer and a storage that will depend on the Queu
4949

5050
To set it up, register the `ProducerEventBusMiddleware` to the Event Bus. Because we'll need to define a second EventBus (consumer), we'll call this the `ProducerEventBus`.
5151

52-
**ProducerEventBus**
52+
#### ProducerEventBus
5353

5454
```php
5555
<?php
@@ -95,7 +95,7 @@ $container['ProducerEventBus'] = function() use ($container) {
9595
};
9696
```
9797

98-
**Consumer for the ProducerEventBus**
98+
#### Consumer for the ProducerEventBus
9999

100100
The Consumer will need to be a script that reads the EventBus definitions and subscribed events in order to run until all events are handled. To do so, we'll need to register a new `EventBus` we'll refer as `ConsumerEventBus`.
101101

@@ -129,7 +129,7 @@ $container['ErrorQueue'] = function() use ($container) {
129129

130130
```
131131

132-
**The Consumer code**
132+
#### The Consumer code
133133

134134
Finally, we'll have to call a consumer. This package already provides a fully working consumer implementation: `EventBusWorker`.
135135

@@ -151,7 +151,7 @@ Consumer class will run the `consume` method until all events are consumed. Then
151151

152152
If you need to keep the consumer running forever use server scripts like [Supervisor](http://supervisord.org/).
153153

154-
**Supervisor Configuration**
154+
#### Supervisor Configuration
155155

156156
Supervisor is a process monitor for the Linux operating system, and will automatically restart your workers if they fail. To install Supervisor on Ubuntu, you may use the following command:
157157

0 commit comments

Comments
 (0)