Class OptimizedTopologyProvider
- java.lang.Object
-
- io.streamthoughts.azkarra.api.streams.OptimizedTopologyProvider
-
- All Implemented Interfaces:
Versioned,Configurable,Provider<org.apache.kafka.streams.Topology>,TopologyProvider
public abstract class OptimizedTopologyProvider extends Object implements TopologyProvider, Configurable
ATopologyProviderthat can be used to build an optimizedTopologyinstance.
-
-
Constructor Summary
Constructors Constructor Description OptimizedTopologyProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Confconfiguration()ReturnsConfdefined for thisTopologyProvider.voidconfigure(Conf configuration)Configures this instance with the specifiedConf.org.apache.kafka.streams.Topologyget()Supplies a new Kafka StreamsTopologyinstance.protected abstract org.apache.kafka.streams.StreamsBuildergetStreamBuilder()Returns theStreamsBuilderwhich is used to build theTopologyinstance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.api.streams.TopologyProvider
version
-
-
-
-
Method Detail
-
configure
public void configure(Conf configuration)
Configures this instance with the specifiedConf.- Specified by:
configurein interfaceConfigurable- Parameters:
configuration- theConfinstance used to configure this instance.
-
configuration
protected Conf configuration()
ReturnsConfdefined for thisTopologyProvider.- Returns:
- a
Confinstance.
-
get
public org.apache.kafka.streams.Topology get()
Supplies a new Kafka StreamsTopologyinstance.- Specified by:
getin interfaceProvider<org.apache.kafka.streams.Topology>- Specified by:
getin interfaceTopologyProvider- Returns:
- the
Topologyinstance.
-
getStreamBuilder
protected abstract org.apache.kafka.streams.StreamsBuilder getStreamBuilder()
Returns theStreamsBuilderwhich is used to build theTopologyinstance.- Returns:
- a
StreamsBuilderinstance.
-
-