![JAR search and dependency download from the Maven repository](/logo.png)
net.osomahe.esk.eventstore.entity.EventSubscription 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;
/**
* EventStoreEvent class used to subscribe for specific event in Kafka.
*
* @author Antonin Stoklasek
*/
public class EventSubscription {
private final Class extends EventStoreEvent> eventClass;
public EventSubscription(Class extends EventStoreEvent> eventClass) {
this.eventClass = eventClass;
}
public Class extends EventStoreEvent> getEventClass() {
return eventClass;
}
@Override
public String toString() {
return "EventSubscription{" +
"eventClass=" + eventClass +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy