Interface TopologyProvider

  • All Superinterfaces:
    Provider<org.apache.kafka.streams.Topology>, Versioned
    All Known Implementing Classes:
    OptimizedTopologyProvider

    public interface TopologyProvider
    extends Provider<org.apache.kafka.streams.Topology>
    The default interface to supply a Kafka Streams Topology instance.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.kafka.streams.Topology get()
      Supplies a new Kafka Streams Topology instance.
      String version()
      Returns the version for this Topology.
    • Method Detail

      • version

        String version()
        Returns the version for this Topology.
        Specified by:
        version in interface Versioned
        Returns:
        the string version.
      • get

        org.apache.kafka.streams.Topology get()
        Supplies a new Kafka Streams Topology instance.
        Specified by:
        get in interface Provider<org.apache.kafka.streams.Topology>
        Returns:
        the Topology instance.