From aa3dff171a31449491e89299db6f8fc1aae649a2 Mon Sep 17 00:00:00 2001
From: Docusaurus bot maxPrefetchBatches * max.poll.records
records per topic-partition that have already been fetched, and are waiting to be processed.
You can use withMaxPollRecords to control the max.poll.records
setting.
This setting effectively controls backpressure, i.e. the maximum number of batches to prefetch
-per topic-parititon before starting to slow down (not fetching more records) until processing
+per topic-partition before starting to slow down (not fetching more records) until processing
has caught-up.
Note that prefetching cannot be disabled and is generally preferred since it yields improved
performance. The minimum value for this setting is 2
.
How often we should attempt to call poll
on the Java KafkaConsumer
.
Returns the set of partitions currently assigned to this consumer.
Returns the set of partitions currently assigned to this consumer.
diff --git a/api/fs2/kafka/consumer/KafkaAssignment.html b/api/fs2/kafka/consumer/KafkaAssignment.html
index aa078bd43..1f86b033f 100644
--- a/api/fs2/kafka/consumer/KafkaAssignment.html
+++ b/api/fs2/kafka/consumer/KafkaAssignment.html
@@ -4,7 +4,7 @@
one).
Manual topic assignment through this method does not use the consumer's group management
functionality. As such, there will be no rebalance operation triggered when group membership
or cluster and topic metadata change. Note that it is not possible to use both manual
-partition assignment with assign
and group assigment with subscribe
.
If auto-commit is enabled, an async commit (based on the old assignment) will be triggered
+partition assignment with assign
and group assignment with subscribe
.
If auto-commit is enabled, an async commit (based on the old assignment) will be triggered
before the new assignment replaces the old one.
To unassign all partitions, use KafkaConsumer#unsubscribe.
org.apache.kafka.clients.consumer.KafkaConsumer#assign
Returns the set of partitions currently assigned to this consumer.
Stream
where the elements are the set of TopicPartition
s currently assigned to this
diff --git a/docs/overview.html b/docs/overview.html
index f565265b2..3f8ebb4ff 100644
--- a/docs/overview.html
+++ b/docs/overview.html
@@ -84,7 +84,7 @@
Refer to the table below for dependencies and version support across modules.
diff --git a/docs/overview/index.html b/docs/overview/index.html index f565265b2..3f8ebb4ff 100644 --- a/docs/overview/index.html +++ b/docs/overview/index.html @@ -84,7 +84,7 @@Refer to the table below for dependencies and version support across modules.
How often we should attempt to call
poll
on the JavaKafkaConsumer
.The default value is 50 milliseconds. diff --git a/api/fs2/kafka/KafkaConsumer.html b/api/fs2/kafka/KafkaConsumer.html index ce0c2b00e..582bb3242 100644 --- a/api/fs2/kafka/KafkaConsumer.html +++ b/api/fs2/kafka/KafkaConsumer.html @@ -26,7 +26,7 @@ one).
Manual topic assignment through this method does not use the consumer's group management functionality. As such, there will be no rebalance operation triggered when group membership or cluster and topic metadata change. Note that it is not possible to use both manual -partition assignment with
assign
and group assigment withsubscribe
.If auto-commit is enabled, an async commit (based on the old assignment) will be triggered +partition assignment with
assign
and group assignment withsubscribe
.If auto-commit is enabled, an async commit (based on the old assignment) will be triggered before the new assignment replaces the old one.
To unassign all partitions, use KafkaConsumer#unsubscribe.
org.apache.kafka.clients.consumer.KafkaConsumer#assign