| Package | Description |
|---|---|
| net.osomahe.esk | |
| net.osomahe.esk.eventstore.boundary | |
| net.osomahe.esk.eventstore.control | |
| net.osomahe.esk.eventstore.entity |
| Modifier and Type | Method and Description |
|---|---|
void |
EventStoreExtension.processObserverMethod(javax.enterprise.inject.spi.ProcessObserverMethod<? extends EventStoreEvent,?> processObserverMethod)
Processes observation of events extended from
EventStoreEvent. |
| Modifier and Type | Method and Description |
|---|---|
<T extends EventStoreEvent> |
EventStorePublisher.publish(T event)
Publishes the given event to the Kafka topic synchronously.
|
<T extends EventStoreEvent> |
EventStorePublisher.publishAsync(T event)
Publishes the given event to the Kafka topic asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends EventStoreEvent>> |
EventSubscriptionDataStore.getEventClasses()
Provides list of events which supposed to be consumed by application.
|
org.apache.kafka.clients.producer.KafkaProducer<String,EventStoreEvent> |
KafkaProducerFactory.getKafkaProducer()
Produces
KafkaProducer according to given configuration. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
EventSerializer.serialize(String topic,
EventStoreEvent event) |
| Modifier and Type | Method and Description |
|---|---|
int |
TopicService.getPartitionCount(Class<? extends EventStoreEvent> eventClass)
Provides how many partitions does topic for given event have.
|
String |
TopicService.getTopicName(Class<? extends EventStoreEvent> eventClass)
Provides topic name for given
EventStoreEvent. |
| Modifier and Type | Method and Description |
|---|---|
EventStoreEvent |
EventNotPublishedException.getEvent() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends EventStoreEvent> |
EventSubscription.getEventClass() |
| Constructor and Description |
|---|
EventNotPublishedException(EventStoreEvent event) |
| Constructor and Description |
|---|
EventSubscription(Class<? extends EventStoreEvent> eventClass) |
Copyright © 2019. All rights reserved.