dongjoon-hyun opened a new pull request #26954: [SPARK-30311][SS] Use 
KafkaConsumer.poll(Duration) instead of deprecated one
URL: https://github.com/apache/spark/pull/26954
 
 
   ### What changes were proposed in this pull request?
   
   This PR replaces the deprecated `KafkaConsumer.poll(long)` with 
`KafkaConsumer.poll(Duration)`. The old one is deprecated at Kafka 2.0.0.
   
   ### Why are the changes needed?
   
   This will use the latest API.
   
   ### Does this PR introduce any user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the Jenkins.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to