@Override public String formatAsText() {
    StringBuilder sb = new StringBuilder();
    sb.append("Druid Storage Handler Runtime Status for ")
        .append(kafkaSupervisorReport.getId())
        .append("\n")
        .append("kafkaPartitions=")
        .append(kafkaSupervisorReport.getPayload().getPartitions())
        .append("\n")
        .append("activeTasks=")
        .append(kafkaSupervisorReport.getPayload().getActiveTasks())
        .append("\n")
        .append("publishingTasks=")
        .append(kafkaSupervisorReport.getPayload().getPublishingTasks());

    if (kafkaSupervisorReport.getPayload().getLatestOffsets() != null) {
      sb.append("\n").append("latestOffsets=").append(kafkaSupervisorReport.getPayload().getLatestOffsets());
    }
    if (kafkaSupervisorReport.getPayload().getMinimumLag() != null) {
      sb.append("\n").append("minimumLag=").append(kafkaSupervisorReport.getPayload().getMinimumLag());
    }
    if (kafkaSupervisorReport.getPayload().getAggregateLag() != null) {
      sb.append("\n").append("aggregateLag=").append(kafkaSupervisorReport.getPayload().getAggregateLag());
    }
    if (kafkaSupervisorReport.getPayload().getOffsetsLastUpdated() != null) {
      sb.append("\n").append("lastUpdateTime=").append(kafkaSupervisorReport.getPayload().getOffsetsLastUpdated());
    }
    return sb.toString();
  }
DruidStorageHandlerInfo provides a runtime information for DruidStorageHandler.
druid-handler/src/java/org/apache/hadoop/hive/druid/DruidStorageHandlerInfo.java