Github user JasonMWhite commented on the pull request:

    https://github.com/apache/spark/pull/10089#issuecomment-185478351
  
    I added unit tests for `maxMessagesPerPartition` to cover 3 edge cases that 
have been raised here:
    - when backpressure is disabled, simply uses the `maxRatePerPartition`
    - when there is no lag, returns `None`
    - when backpressure calculations returns higher than `maxRatePerPartition`, 
respects `maxRatePerPartition`
    
    The normal test, using the fake kafka test data, exercises 
`maxMessagePerPartition` in the normal case, i.e. backpressure is enabled, 
there is lag, backpressure is lower than the max rate per partition.
    
    I've also moved the MimaExcludes to the 2.0 section.


---
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]

Reply via email to