Changes
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
## Improvements
- Add partition check for offsetStore (#331, @nick-zh)
- Naming consistency for setting in tests (#339, @romainneutron)
## Bugfixes
- Fix headers containing null bytes (#338, @arnaud-lb, @dirx @nick-zh)
- Fix topic deconstruct for high level consumer (#333, @nick-zh)
## Documentation
- Fix doc example (#340, @Steveb-p)
- Remove outdated and duplicate examples (#341, @nick-zh)