Hi,
I have a question.
I wanna run kafka-producer by multi process.
But, below source is not working.
ex)
from multiprocessing import Process
def produce result():
producer = KafkaProducer(bootstrap_servers='127.0.0.1:9092)
producer.send('aaa', value='bbb')
p = Process(target=produce_result)
p.start()
Hi, I have a question. I wanna run kafka-producer by multi process. But, below source is not working.
ex)
I don't know why? Help me.