Class ContextAwareTopologySupplier.ClassLoaderAwareTopologyProvider
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.context.internal.DelegatingExecutionEnvironmentAware<TopologyProvider>
-
- io.streamthoughts.azkarra.runtime.context.internal.ContextAwareTopologySupplier.ClassLoaderAwareTopologyProvider
-
- All Implemented Interfaces:
Versioned
,EventStreamProvider
,Provider<org.apache.kafka.streams.Topology>
,TopologyProvider
,StreamsExecutionEnvironmentAware
- Enclosing class:
- ContextAwareTopologySupplier
public static class ContextAwareTopologySupplier.ClassLoaderAwareTopologyProvider extends DelegatingExecutionEnvironmentAware<TopologyProvider> implements TopologyProvider, StreamsExecutionEnvironmentAware, EventStreamProvider
A delegatingTopologyProvider
which is notConfigurable
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EventStream>
eventStreams()
Returns the list ofEventStream
org.apache.kafka.streams.Topology
topology()
Supplies a new Kafka StreamsTopology
instance.String
version()
Returns the version for thisTopology
.-
Methods inherited from class io.streamthoughts.azkarra.runtime.context.internal.DelegatingExecutionEnvironmentAware
setExecutionEnvironment
-
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.StreamsExecutionEnvironmentAware
setExecutionEnvironment
-
-
-
-
Method Detail
-
version
public String version()
Returns the version for thisTopology
.- Specified by:
version
in interfaceTopologyProvider
- Specified by:
version
in interfaceVersioned
- Returns:
- the string version.
-
topology
public org.apache.kafka.streams.Topology topology()
Supplies a new Kafka StreamsTopology
instance.- Specified by:
topology
in interfaceProvider<org.apache.kafka.streams.Topology>
- Specified by:
topology
in interfaceTopologyProvider
- Returns:
- the
Topology
instance.
-
eventStreams
public List<EventStream> eventStreams()
Returns the list ofEventStream
- Specified by:
eventStreams
in interfaceEventStreamProvider
- Returns:
- a list of
EventStream
. Must not returnnull
.
-
-