Class KafkaClient4AxenAPIImpl
java.lang.Object
pro.axenix_innovation.axenapi.service.impl.KafkaClient4AxenAPIImpl
- All Implemented Interfaces:
KafkaClient4AxenAPI
-
Constructor Summary
ConstructorsConstructorDescriptionKafkaClient4AxenAPIImpl(org.springframework.kafka.core.KafkaTemplate<String, Object> kafkaTemplate) -
Method Summary
Modifier and TypeMethodDescriptionvoidsend(Object message, String topicName, KafkaHeaderAccessor headerAccessor) voidsendProducerRecord(org.apache.kafka.clients.producer.ProducerRecord<String, Object> record)
-
Constructor Details
-
KafkaClient4AxenAPIImpl
-
-
Method Details
-
send
- Specified by:
sendin interfaceKafkaClient4AxenAPI
-
sendProducerRecord
public void sendProducerRecord(org.apache.kafka.clients.producer.ProducerRecord<String, Object> record) - Specified by:
sendProducerRecordin interfaceKafkaClient4AxenAPI
-