HeartSaVioR opened a new pull request #26960: 
[SPARK-28144][SPARK-29294][SQL][SS] Upgrade the version of Kafka to 2.4
URL: https://github.com/apache/spark/pull/26960
 
 
   ### What changes were proposed in this pull request?
   
   This patch upgrades the version of Kafka to 2.4, which supports Scala 2.13.
   
   There're some incompatible changes in Kafka 2.4 which the patch addresses as 
well:
   
   * `ZkUtils` is removed -> Replaced with `KafkaZkClient`
   * Majority of methods are removed in `AdminUtils` -> Replaced with 
`AdminZkClient`
   * Method signature of `Scheduler.schedule` is changed (return type) -> 
leverage `DeterministicScheduler` to avoid implementing `ScheduledFuture`
   
   ### Why are the changes needed?
   
   * Kafka 2.4 supports Scala 2.13
   * Kafka 2.4 is prerequisite to resolve 
[SPARK-28367](https://issues.apache.org/jira/browse/SPARK-28367), as it 
requires KIP-396
   
   ### Does this PR introduce any user-facing change?
   
   No, as Kafka API is known to be compatible across versions.
   
   ### How was this patch tested?
   
   Existing UTs

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