Options. set Prefetch Count(final int prefetchCount) 方法
Set the number of events that can be pre-fetched and cached at the PartitionReceiver.
By default the value is 500
public void setPrefetchCount(final int prefetchCount)
- final int
the number of events to pre-fetch. value must be between 1 and 2000.
if setting prefetchCount encounters error