support config the chunk_size.