Class KafkaFlowIngester


  • public class KafkaFlowIngester
    extends Object
    Utility program that generates synthetic flows and ingests them into Kafka. The FlowGenOptions.getPlaybackMode() command line argument is of particular interest. It controls if flow timestamps are calculated based on a configured start timestamp or if the current time is used.
    • Constructor Detail

      • KafkaFlowIngester

        public KafkaFlowIngester()
    • Method Detail

      • createProducer

        public static org.apache.kafka.clients.producer.Producer<String,​byte[]> createProducer​(FlowGenOptions options)
      • sendRecordsToKafka

        public static long sendRecordsToKafka​(FlowGenOptions options)
      • main

        public static void main​(String[] args)