You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/07/31 11:19:08 UTC

[GitHub] markusthoemmes opened a new pull request #3923: Bump Kafka's fetch.max.wait duration and adjust poll's timeout.

markusthoemmes opened a new pull request #3923: Bump Kafka's fetch.max.wait duration and adjust poll's timeout.
URL: https://github.com/apache/incubator-openwhisk/pull/3923
 
 
   Kafka's `fetch.max.wait` duration determines how long the server will wait to send a response if *no record is present*.
   The timeout set on `poll` determines how long the client blocks if *no record is present*.
   
   Note that both of these only block if no records are present. Latency should not be impacted, if records are arriving quickly, as both of these timeouts will not apply if records are already there.
   
   The `fetch.max.wait` duration determines how often Kafka is queried though. Big systems can slow down Kafka even by the amount of polling that is happening, even if all the topics are empty.
   
   ## My changes affect the following components
   <!--- Select below all system components are affected by your change. -->
   <!--- Enter an `x` in all applicable boxes. -->
   - [X] Message Bus (e.g., Kafka)
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Use `x` in all the boxes that apply: -->
   - [X] Bug fix (generally a non-breaking change which closes an issue).
   
   ## Checklist:
   <!--- Please review the points below which help you make sure you've covered all aspects of the change you're making. -->
   
   - [X] I signed an [Apache CLA](https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md).
   - [X] I reviewed the [style guides](https://github.com/apache/incubator-openwhisk/wiki/Contributing:-Git-guidelines#code-readiness) and followed the recommendations (Travis CI will check :).
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services