Github user koeninger commented on the issue:

    https://github.com/apache/spark/pull/17774
  
    How do you read 0.1 of a kafka message for a given partition of a given 
batch?
    
    Ultimately the floor for a rate limit, assuming one is set, needs to be 1 
message per partition per batch, not a fraction, which is why it's a long.
    
    If you want to delay that conversion by keeping it as a double as long as 
possible, that makes sense, but the lines like
    
    (secsPerBatch * limit).toLong
    
    probably need attention too.


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