Class KafkaSaslSslResource


  • @Path("/kafka-sasl-ssl")
    @ApplicationScoped
    public class KafkaSaslSslResource
    extends Object
    • Field Detail

      • consumerProperties

        @Inject
        @Named("kafka-consumer-properties")
        Properties consumerProperties
      • producerProperties

        @Inject
        @Named("kafka-producer-properties")
        Properties producerProperties
    • Constructor Detail

      • KafkaSaslSslResource

        public KafkaSaslSslResource()
    • Method Detail

      • post

        @Path("/{topicName}")
        @POST
        @Produces("application/json")
        public javax.json.JsonObject post​(@PathParam("topicName")
                                          String topicName,
                                          String message)
                                   throws Exception
        Throws:
        Exception
      • get

        @Path("/{topicName}")
        @GET
        @Produces("application/json")
        public javax.json.JsonObject get​(@PathParam("topicName")
                                         String topicName)