Class KafkaSslResource


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

      • consumerProperties

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

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

        @Inject
        org.apache.camel.CamelContext context
    • Constructor Detail

      • KafkaSslResource

        public KafkaSslResource()
    • Method Detail

      • kafkaClientFactoryIsMissing

        @Path("/custom/client/factory/missing")
        @GET
        @Produces("text/plain")
        public boolean kafkaClientFactoryIsMissing()
      • 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)