Github user koeninger commented on the issue:

    https://github.com/apache/spark/pull/15626
  
    So it looks like this is the json format being used for kafka offsets:
    
    
[{"_1":{"hash":0,"partition":0,"topic":"t"},"_2":2},{"_1":{"hash":0,"partition":1,"topic":"t"},"_2":2}]
    
    My main concerns are that is unnecessarily verbose, and is completely 
different from the format being used to specify per-topicpartition offsets in 
org.apache.spark.sql.kafka010.JsonUtils
    
    I see no reason why those formats should be different - a user should be 
able to take offsets directly from the checkpoint and use them to start a job, 
for instance.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to