예제 #1
0
        static void Main(string[] args)
        {
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Starting order validation service in 5 seconds...");
            Thread.Sleep(5000);

            KafkaHelper.Consume("GROUP-VALIDATION", Topics.OrderCreated, Process);
        }
예제 #2
0
        static void Main(string[] args)
        {
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.WriteLine("Starting order shipping service in 11 seconds...");
            Thread.Sleep(11000);

            KafkaHelper.Consume("GROUP-SHIPPING", Topics.OrderValidated, Process);
            //KafkaHelper.Consume<Order>("GROUP-FOR-ALL", Topics.OrderValidated, Process);
        }
예제 #3
0
        static void Main(string[] args)
        {
            Console.ForegroundColor = ConsoleColor.Green;
            Console.WriteLine("Starting order finance service in 9 seconds...");
            Thread.Sleep(9000);

            KafkaHelper.Consume("GROUP-FINANCE", Topics.OrderValidated, Process);
            //KafkaHelper.Consume<Order>("GROUP-FOR-ALL", Topics.OrderValidated, Process);
        }