Class KafkaSaslSslResource
- java.lang.Object
-
- org.apache.camel.quarkus.kafka.sasl.KafkaSaslSslResource
-
@Path("/kafka-sasl-ssl") @ApplicationScoped public class KafkaSaslSslResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) PropertiesconsumerProperties(package private) PropertiesproducerProperties
-
Constructor Summary
Constructors Constructor Description KafkaSaslSslResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.json.JsonObjectget(String topicName)javax.json.JsonObjectpost(String topicName, String message)
-
-
-
Field Detail
-
consumerProperties
@Inject @Named("kafka-consumer-properties") Properties consumerProperties
-
producerProperties
@Inject @Named("kafka-producer-properties") Properties producerProperties
-
-
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)
-
-