public long getTimeCreatedNs() {
    return timeCreatedNs;
  }
This class implements {@link TaskCallback}. It triggers the
{@link TaskCallbackListener} with the callback result. If the
callback is called multiple times, it will throw IllegalStateException
to the listener.
samza-core/src/main/java/org/apache/samza/task/TaskCallbackImpl.java