move code in finalize() back to close() and cleanup(). Still useless but at least the test pass
kafka bolt working