Class SignalSender

java.lang.Object
io.taktx.client.SignalSender

public class SignalSender extends Object
A sender for message events, responsible for producing and sending MessageEventDTO objects to a Kafka topic.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SignalSender(io.taktx.util.TaktPropertiesHelper taktPropertiesHelper)
    Constructor for MessageEventSender.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendMSignal(io.taktx.dto.SignalDTO signalDTO)
    Sends a signal to the configured Kafka topic.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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