Class DefaultApplicationIdBuilder
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.streams.DefaultApplicationIdBuilder
-
- All Implemented Interfaces:
ApplicationIdBuilder
,StreamsExecutionEnvironmentAware
public class DefaultApplicationIdBuilder extends Object implements ApplicationIdBuilder, StreamsExecutionEnvironmentAware
The defaultApplicationIdBuilder
implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultApplicationIdBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationId
buildApplicationId(TopologyMetadata metadata, Conf streamsConfig)
Builds theStreamsConfig.APPLICATION_ID_CONFIG
for the specified topology and configuration.void
setExecutionEnvironment(StreamsExecutionEnvironment environment)
Set theStreamsExecutionEnvironment
.
-
-
-
Method Detail
-
setExecutionEnvironment
public void setExecutionEnvironment(StreamsExecutionEnvironment environment)
Set theStreamsExecutionEnvironment
.- Specified by:
setExecutionEnvironment
in interfaceStreamsExecutionEnvironmentAware
- Parameters:
environment
- theStreamsExecutionEnvironment
instance
-
buildApplicationId
public ApplicationId buildApplicationId(TopologyMetadata metadata, Conf streamsConfig)
Builds theStreamsConfig.APPLICATION_ID_CONFIG
for the specified topology and configuration.- Specified by:
buildApplicationId
in interfaceApplicationIdBuilder
- Parameters:
metadata
- theTopologyMetadata
instance.- Returns:
- a new
ApplicationId
instance.
-
-