public interface TopologySource
Marker interface for objects that can produce
topology-sourceclass implements the
getTopology()method, Flux will call that method. Otherwise, it will introspect the given class and look for a similar method that produces a
StormTopologyinstance. Note that it is not strictly necessary for a class to implement this interface. If a class defines a method with a similar signature, Flux should be able to find and invoke it.
Copyright © 2022 The Apache Software Foundation. All rights reserved.