Runtime.addShutdownHook in python? What's the preferred way to flush Kafka producer when using Python?

前端 未结 0 617
不思量自难忘°
不思量自难忘° 2021-01-29 04:29

Runtime.addShutdownHook() is the preferred way when using Java according to Lost message from the Kafka Topic.

How to do it when using python? What\'s the pr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题