Class ReactionObserverKafkaConfigProperties
java.lang.Object
ch.admin.bit.jeap.reaction.observer.events.spring.ReactionObserverKafkaConfigProperties
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware
@ConfigurationProperties("jeap.reaction.observer.events")
@Validated
public class ReactionObserverKafkaConfigProperties
extends Object
implements org.springframework.context.EnvironmentAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanorg.springframework.core.env.EnvironmentintDefaults to every five minutes inReactionsObservedEventSchedulerinthashCode()booleanvoidsetEnvironment(org.springframework.core.env.Environment environment) voidsetObservedEventRateSeconds(int observedEventRateSeconds) Defaults to every five minutes inReactionsObservedEventSchedulervoidsetReactionIdentifiedTopic(String reactionIdentifiedTopic) voidsetReactionsObservedTopic(String reactionsObservedTopic) toString()voidvalidate()
-
Constructor Details
-
ReactionObserverKafkaConfigProperties
public ReactionObserverKafkaConfigProperties()
-
-
Method Details
-
isObservedEventSchedulingEnabled
public boolean isObservedEventSchedulingEnabled() -
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
validate
@PostConstruct public void validate() -
getReactionIdentifiedTopic
-
getReactionsObservedTopic
-
getObservedEventRateSeconds
public int getObservedEventRateSeconds()Defaults to every five minutes inReactionsObservedEventScheduler -
getEnvironment
public org.springframework.core.env.Environment getEnvironment() -
setReactionIdentifiedTopic
-
setReactionsObservedTopic
-
setObservedEventRateSeconds
public void setObservedEventRateSeconds(int observedEventRateSeconds) Defaults to every five minutes inReactionsObservedEventScheduler -
equals
-
canEqual
-
hashCode
-
toString
-