add shutdown

Shuts down message stream threads spawned by kafka.

Also add
* producer/consumer integration tests, requires local zookeeper/kafka to be started up
I don't understand why this change is in this commit, can you elaborate?