Deklan Dieterly 0d8f1b6328 Make persister shutdown on error
Refactor code to handle errors better. Persister shuts down faster
and more reliably.

On shutdown, messages in buffer will be dropped. On restart,
messages will be read from Kafka and processed again.

Fixes problem with persister not shutting down and restarting 
when a vertica node goes down.

Change-Id: I60b4ba6e06e69e68878f8400e360250e3608e5a5
2015-12-14 15:48:24 +00:00
..
2015-12-14 15:48:24 +00:00