Class SignalSender
java.lang.Object
io.taktx.client.SignalSender
A sender for message events, responsible for producing and sending MessageEventDTO objects to a
Kafka topic.
-
Constructor Summary
ConstructorsConstructorDescriptionSignalSender(io.taktx.util.TaktPropertiesHelper taktPropertiesHelper) Constructor for MessageEventSender. -
Method Summary
Modifier and TypeMethodDescriptionvoidsendMSignal(io.taktx.dto.SignalDTO signalDTO) Sends a signal to the configured Kafka topic.
-
Constructor Details
-
SignalSender
public SignalSender(io.taktx.util.TaktPropertiesHelper taktPropertiesHelper) Constructor for MessageEventSender.- Parameters:
taktPropertiesHelper- the TaktPropertiesHelper to use for configuration
-
-
Method Details
-
sendMSignal
public void sendMSignal(io.taktx.dto.SignalDTO signalDTO) Sends a signal to the configured Kafka topic.- Parameters:
signalDTO- the SignalDTO to send
-