Package org.apache.storm.flux.api

# Interface TopologySource

public interface TopologySource
Marker interface for objects that can produce `StormTopology` objects.

If a `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.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `StormTopology`
  `getTopology(Map<String,Object> config)`

- ## Method Details

  - ### getTopology

    StormTopology getTopology(Map<String,Object> config)