public final class CommandApiBuilder<K,C> extends Object
Modifier and Type | Method and Description |
---|---|
<SC extends C> |
build() |
static <K,C,E,A> CommandApiBuilder<K,C> |
newBuilder() |
CommandApiBuilder<K,C> |
withClientId(String clientId) |
CommandApiBuilder<K,C> |
withCommandResponseRetention(long retentionInSeconds) |
CommandApiBuilder<K,C> |
withName(String name) |
CommandApiBuilder<K,C> |
withResourceNamingStrategy(ResourceNamingStrategy resourceNamingStrategy) |
CommandApiBuilder<K,C> |
withSerdes(CommandSerdes<K,C> commandSerdes) |
CommandApiBuilder<K,C> |
withTopicSpec(int partitions,
int replication) |
CommandApiBuilder<K,C> |
withTopicSpec(TopicSpec topicSpec) |
public static <K,C,E,A> CommandApiBuilder<K,C> newBuilder()
public CommandApiBuilder<K,C> withName(String name)
public CommandApiBuilder<K,C> withClientId(String clientId)
public CommandApiBuilder<K,C> withResourceNamingStrategy(ResourceNamingStrategy resourceNamingStrategy)
public CommandApiBuilder<K,C> withSerdes(CommandSerdes<K,C> commandSerdes)
public CommandApiBuilder<K,C> withTopicSpec(int partitions, int replication)
public CommandApiBuilder<K,C> withTopicSpec(TopicSpec topicSpec)
public CommandApiBuilder<K,C> withCommandResponseRetention(long retentionInSeconds)
public <SC extends C> CommandSpec<K,C> build()
Copyright © 2019. All rights reserved.