Kafka, mail # user - Sending Data from more than one producer - 2013-08-07, 09:55
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Sending Data from more than one producer
How can I make multiple producers to write data? I have written a producer
that produces some data for 15 seconds on a single machine setup. Now when
I run another instance of same producer it says the port is in use (which
is natural as I think the first producer is sending data using TCP). So it
is a blocking call for me. How can I start and send data from multiple
producers at the same time. Note that it is a vanilla setup with 1 broker
on a single machine. I don't need any synchronization and I can send data
in random from both the producers.

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB