I'm new to Complex event processing(CEP) systems, using one of the CEP engine called Esper to detect event patterns in smart buildings. Different sensors assumed and implemented data generators for them. I would like to measure performance of my system. Whole implementation is in java so what is the best way to transfer stream data from different data generators to my CEP system with in LAN.
should I use UDP or TCP ?? Threading is required? because of many sensors assumed.