Class KafkaStreamsContainer.InternalStreamsLifeCycleContext
- java.lang.Object
-
- io.streamthoughts.azkarra.api.streams.KafkaStreamsContainer.InternalStreamsLifeCycleContext
-
- All Implemented Interfaces:
StreamsLifecycleContext
- Enclosing class:
- KafkaStreamsContainer
public class KafkaStreamsContainer.InternalStreamsLifeCycleContext extends Object implements StreamsLifecycleContext
-
-
Constructor Summary
Constructors Constructor Description InternalStreamsLifeCycleContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApplicationId()
Gets the application identifier of the current streams instance.State
getState()
Gets the state of the current streams instance.Conf
getStreamConfig()
Gets the configuration of the current streams instance.org.apache.kafka.streams.TopologyDescription
getTopology()
Gets the topology description of the current streams instance.void
setState(State state)
Sets the state of the current streams instance.
-
-
-
Method Detail
-
getApplicationId
public String getApplicationId()
Gets the application identifier of the current streams instance.- Specified by:
getApplicationId
in interfaceStreamsLifecycleContext
- Returns:
- the application id.
-
getTopology
public org.apache.kafka.streams.TopologyDescription getTopology()
Gets the topology description of the current streams instance.- Specified by:
getTopology
in interfaceStreamsLifecycleContext
- Returns:
- the
TopologyDescription
instance.
-
getStreamConfig
public Conf getStreamConfig()
Gets the configuration of the current streams instance.- Specified by:
getStreamConfig
in interfaceStreamsLifecycleContext
- Returns:
- the
Conf
instance.
-
getState
public State getState()
Gets the state of the current streams instance.- Specified by:
getState
in interfaceStreamsLifecycleContext
- Returns:
- the
State
.
-
setState
public void setState(State state)
Sets the state of the current streams instance.- Specified by:
setState
in interfaceStreamsLifecycleContext
- Parameters:
state
- the newState
.
-
-