Example #1
0
  /** {@inheritDoc} */
  @Override
  public void cleanup() {
    LOG.debug("Start to cleanup storm output bolt.");

    try {
      output.destroy();
    } catch (StreamingException e) {
      LOG.error("Failed to destroy output.");
      throw new RuntimeException("Failed to destroy output", e);
    }
  }