Skip to content

Commit

Permalink
Update README with notice about heartbeats
Browse files Browse the repository at this point in the history
The original notice was added to the pull request that added heartbeat support, but it wasn't added to the documentation. This made it a rather annoying caveat.
  • Loading branch information
Pascal de Vink committed Sep 23, 2015
1 parent 0834124 commit 0899d6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -178,6 +178,10 @@ configuration to avoid unnecessary connections to your message broker in every r
It's extremely recommended to use lazy connections because performance reasons, nevertheless lazy option is disabled
by default to avoid possible breaks in applications already using this bundle.

### Import notice - Heartbeats ###

It's a good idea to set the ```read_write_timeout``` to 2x the heartbeat so your socket will be open. If you don't do this, or use a different multiplier, there's a risk the __consumer__ socket will timeout.

## Producers, Consumers, What? ##

In a messaging application, the process sending messages to the broker is called __producer__ while the process receiving those messages is called __consumer__. In your application you will have several of them that you can list under their respective entries in the configuration.
Expand Down

0 comments on commit 0899d6b

Please sign in to comment.