public string Get(string message)
        {
            KafkaSsl.setup();
            string        topic         = Environment.GetEnvironmentVariable("KAFKA_PREFIX") + Environment.GetEnvironmentVariable("TOPIC");
            KafkaProducer kafkaProducer = new KafkaProducer(topic, message);

            kafkaProducer.publish();

            return("The message: '" + message + "', has been published to the 'chatter' topic");
        }
 public string Post()
 {
     KafkaSsl.setup();
     KafkaConsumer.start();
     return("Kafka consumer started");
 }
 public IEnumerable <string> Get()
 {
     KafkaSsl.setup();
     return(new[] { "value1", "value2" });
 }