![JAR search and dependency download from the Maven repository](/logo.png)
net.osomahe.esk.eventstore.entity.EventExpirationSecs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eventstore-kafka Show documentation
Show all versions of eventstore-kafka Show documentation
CDI extension for Java EE 8 application using Apache Kafka as Event Store
The newest version!
package net.osomahe.esk.eventstore.entity;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Using this annotation on {@link EventStoreEvent} class you can set how long is the event valid and should be fired.
* This can be used for not firing events when reseting topic offset.
*
* @author Antonin Stoklasek
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface EventExpirationSecs {
long value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy