Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
public interface ResponseInfo {
  /* @return a map of error to its count of occurrence.
   */
  public Map<Errors, Integer> getErrorCounts();

  /* This method should only be invoked if the requestresponse is of type ApiKeys.FETCH. Otherwise, an exception is thrown.
   * @return a map of topic partition to the data that is fetched from this topic partition.
   */
  public Map<TopicPartition, FetchResponse.PartitionData> getFetchResponseData();
}

...