GitHub user ScrapCodes opened a pull request:
https://github.com/apache/spark/pull/15962
[SPARK-18526][SQL][KAFKA] Allow users to configure max.poll.records.
## What changes were proposed in this pull request?
In Kafka source for structured streaming the value of the property
`max.poll.records` is set to a default of 1, this is very slow rate of reading.
This should be set to a higher value or at least user should be able to
configure it.
## How was this patch tested?
Existing tests and by deploying to a cluster.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ScrapCodes/spark SPARK-18526/sql-kafka
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15962.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15962
----
commit eb3901808b2ab6ca8aeba773c61f63a7128c1f6f
Author: Prashant Sharma <[email protected]>
Date: 2016-11-21T11:46:43Z
[SPARK-18526][SQL][KAFKA] Allow users to configure max.poll.records.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]