TopologyBuilder.maybeAddCheckpointSpout
Code IndexAdd Codota to your IDE (free)

Best code snippets using backtype.storm.topology.TopologyBuilder.maybeAddCheckpointSpout(Showing top 1 results out of 315)

origin: alibaba/jstorm

public StormTopology createTopology() {
  Map<String, Bolt> boltSpecs = new HashMap<>();
  Map<String, SpoutSpec> spoutSpecs = new HashMap<>();
  maybeAddCheckpointSpout();
  for (String boltId : _bolts.keySet()) {
    IRichBolt bolt = _bolts.get(boltId);
backtype.storm.topologyTopologyBuildermaybeAddCheckpointSpout

Javadoc

If the topology has at least one stateful bolt add a CheckpointSpout component to the topology.

Popular methods of TopologyBuilder

  • <init>
  • createTopology
  • setBolt
    Define a new bolt in this topology. This defines a windowed bolt, intended for windowing operations.
  • setSpout
    Define a new spout in this topology with the specified parallelism. If the spout declares itself as
  • addCheckPointInputs
    For bolts that has incoming streams from spouts (the root bolts), add checkpoint stream from checkpo
  • getComponentCommon
  • getStormConf
  • initCommon
  • maybeAddCheckpointInputs
  • maybeAddCheckpointTupleForwarder
    If the topology has at least one stateful bolt all the non-stateful bolts are wrapped in CheckpointT
  • maybeAddWatermarkInputs
    Add watermark stream to source components of window bolts
  • putStormConf
  • maybeAddWatermarkInputs,
  • putStormConf,
  • setStateSpout,
  • validateUnusedId

Popular classes and methods

  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
  • Container (java.awt)
  • File (java.io)
    LocalStorage based File implementation for GWT. Should probably have used Harmony as a starting poin
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • String (java.lang)
    An immutable sequence of characters/code units ( chars). A String is represented by array of UTF-16
  • Collections (java.util)
    Collections contains static methods which operate on Collection classes.
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)