HeartSaVioR opened a new pull request #25583: [MINOR][SS] Reuse 
KafkaSourceInitialOffsetWriter to deduplicate
URL: https://github.com/apache/spark/pull/25583
 
 
   ### What changes were proposed in this pull request?
   
   This patch proposes to reuse KafkaSourceInitialOffsetWriter to remove 
identical code in KafkaSource.
   
   Credit to @jaceklaskowski for finding this.
   
https://lists.apache.org/thread.html/7faa6ac29d871444eaeccefc520e3543a77f4362af4bb0f12a3f7cb2@%3Cdev.spark.apache.org%3E
   
   ### Why are the changes needed?
   
   The code is duplicated with identical code, which opens the chance to 
maintain the code separately and might end up with bugs not addressed one side.
   
   ### Does this PR introduce any user-facing change?
   
   No
   
   ### How was this patch tested?
   
   Existing UTs, as it's simple refactor.
   

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