Class Executed

  • Direct Known Subclasses:
    InternalExecuted

    public class Executed
    extends Object
    Executed class is used to describe a Topology instance to be executed.
    • Constructor Detail

      • Executed

        protected Executed()
        Creates a new Executed instance.
      • Executed

        protected Executed​(Executed executed)
    • Method Detail

      • as

        public static Executed as​(String name)
        Static helper that can be used to creates a new Executed instance with the specified streams name.
        Parameters:
        name - the name of the streams application.
        Returns:
        a new StreamsExecutionEnvironment instance.
      • as

        public static Executed as​(String name,
                                  String description)
        Static helper that can be used to creates a new Executed instance with the specified streams name and description.
        Parameters:
        name - the name of the streams application.
        description - the description of the streams application.
        Returns:
        a new StreamsExecutionEnvironment instance.
      • with

        public static Executed with​(Conf conf)
        Static helper that can be used to creates a new Executed instance with the specified streams name and configuration.
        Parameters:
        conf - the configuration.
        Returns:
        a new StreamsExecutionEnvironment instance.
      • withName

        public Executed withName​(String name)
        Returns a new Executed with the specified name.
        Parameters:
        name - the name of the streams topology.
        Returns:
        a new Executed.
      • withDescription

        public Executed withDescription​(String description)
        Returns a new Executed with the specified description.
        Parameters:
        description - the description of the streams topology.
        Returns:
        a new Executed.
      • withConfig

        public Executed withConfig​(Conf config)
        Returns a new Executed with the specified config.
        Parameters:
        config - the config of the streams topology.
        Returns:
        a new Executed.
      • withKafkaStreamsFactory

        public Executed withKafkaStreamsFactory​(Supplier<KafkaStreamsFactory> factory)
        Returns a new Executed with the specified KafkaStreams factory.
        Parameters:
        factory - the KafkaStreams factory to be used.
        Returns:
        a new Executed.