public interface TopologySource
Marker interface for objects that can produce StormTopology
objects.
topology-source
class 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 StormTopology
instance. 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.Modifier and Type | Method and Description |
---|---|
StormTopology |
getTopology(Map<String,Object> config) |
StormTopology getTopology(Map<String,Object> config)
Copyright © 2020 The Apache Software Foundation. All rights reserved.