Scala API: Create an offset batch out of a first offsets.
Scala API: Create an offset batch out of a list of offsets.