Class ErrorEventProperties

java.lang.Object
com.aim2be.platform.errorevent.ErrorEventProperties

@Validated @ConfigurationProperties(prefix="im2be.error-event") public class ErrorEventProperties extends Object
Configuration for the error-event Kafka stream (ADR-0015). Bound from im2be.error-event.*. @Validated so a blank topic misconfiguration fails the application context at startup (a clear BindValidationException) rather than surfacing as a swallowed best-effort failure at the first publish — parity with OutboxProperties.
  • Constructor Details

    • ErrorEventProperties

      public ErrorEventProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getTopic

      public String getTopic()
    • setTopic

      public void setTopic(String topic)