cluster模式下storm kill topology時作cleanup的解決方法

[時間是讓人猝不及防的東西,晴時有風陰時有雨] 1.背景 在bolt中,須要在topology被關閉前執行某個操做,而根據官方文檔:html The  cleanup method is called when a Bolt is being shutdown and should cleanup any resources that were opened. There's no guarant
相關文章
相關標籤/搜索