Esempio n. 1
0
        public async Task <ActionResult> GetKafka([FromQuery] string message)
        {
            Task.Factory.StartNew(() => _kafkaProducer.ProduceMessage("weblog", message));

            return(Ok());
        }