7 lines
146 B
Python
7 lines
146 B
Python
from CommonCode import kwq
|
|
topic = 'whatsup'
|
|
kwq.producer.send("hello",'world')
|
|
for x in range(100):
|
|
kwq.producer.send(topic, 'num_'+str(x))
|
|
|