摘要:
import threadingfrom kafka import KafkaConsumerthreads = []class MyThread(threading.Thread): def __init__(self, threadName, keyName): threading.Thread 阅读全文
posted @ 2017-07-30 22:59
MichaelYing
阅读(1759)
评论(0)
推荐(0)
摘要:
import threadingimport timeimport randomfrom kafka import KafkaProducerproducer = KafkaProducer(bootstrap_servers='192.168.1.10:9092')threads = []clas 阅读全文
posted @ 2017-07-30 22:58
MichaelYing
阅读(1436)
评论(0)
推荐(0)

浙公网安备 33010602011771号