public final class EventSourcedClient extends Object
Constructor and Description |
---|
EventSourcedClient() |
Modifier and Type | Method and Description |
---|---|
<K,C> EventSourcedClient |
addCommands(CommandSpec<K,C> spec) |
<K,C> EventSourcedClient |
addCommands(java.util.function.Consumer<CommandApiBuilder<K,C>> buildSteps) |
CommandAPISet |
build() |
EventSourcedClient |
withKafkaConfig(java.util.function.Function<? super KafkaConfig.Builder,KafkaConfig> builderFn) |
EventSourcedClient |
withScheduler(ScheduledExecutorService scheduler) |
public EventSourcedClient withKafkaConfig(java.util.function.Function<? super KafkaConfig.Builder,KafkaConfig> builderFn)
public <K,C> EventSourcedClient addCommands(java.util.function.Consumer<CommandApiBuilder<K,C>> buildSteps)
public <K,C> EventSourcedClient addCommands(CommandSpec<K,C> spec)
public EventSourcedClient withScheduler(ScheduledExecutorService scheduler)
public CommandAPISet build()
Copyright © 2019. All rights reserved.