Class VertxKafkaResource


  • @Path("/vertx-kafka")
    public class VertxKafkaResource
    extends Object
    • Field Detail

      • kafkaConsumer

        @Inject
        io.vertx.kafka.client.consumer.KafkaConsumer<String,​String> kafkaConsumer
      • kafkaProducer

        @Inject
        io.vertx.kafka.client.producer.KafkaProducer<String,​String> kafkaProducer
    • Constructor Detail

      • VertxKafkaResource

        public VertxKafkaResource()
    • Method Detail

      • post

        @Path("/post")
        @POST
        @Consumes("text/plain")
        public javax.ws.rs.core.Response post​(String message)
                                       throws Exception
        Throws:
        Exception