public HdfsSystemDescriptor withConsumerNumMaxRetries(long maxRetries) {
    this.consumerMaxRetries = Optional.of(maxRetries);
    return this;
  }
Number of max retries for the hdfs consumer readers per partition.
@param maxRetries number of max retires for HDFS consumer.
@return this system descriptor
samza-hdfs/src/main/java/org/apache/samza/system/hdfs/descriptors/HdfsSystemDescriptor.java