Skip to content

Commit 4267307

Browse files
authored
Update prefetch count for a receiver (#441)
1 parent 4972811 commit 4267307

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-eventhubs/src/main/java/com/microsoft/azure/eventhubs/PartitionReceiver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public interface PartitionReceiver {
2626

2727
int MINIMUM_PREFETCH_COUNT = 1;
2828
int DEFAULT_PREFETCH_COUNT = 500;
29-
int MAXIMUM_PREFETCH_COUNT = 2000;
29+
int MAXIMUM_PREFETCH_COUNT = 8000;
3030

3131
long NULL_EPOCH = 0;
3232

@@ -141,4 +141,4 @@ default Iterable<EventData> receiveSync(final int maxEventCount) throws EventHub
141141
CompletableFuture<Void> close();
142142

143143
void closeSync() throws EventHubException;
144-
}
144+
}

0 commit comments

Comments
 (0)