HeartSaVioR edited a comment on issue #25911: [SPARK-29223][SQL][SS] Enable 
global timestamp per topic while specifying offset by timestamp in Kafka source
URL: https://github.com/apache/spark/pull/25911#issuecomment-536971084
 
 
   Yes, but you seem to provide an example of "as-is" too simplified. If we 
have 5 partitions for topicA, it would be:
   
   `{"topicA":{"0": 1000, "1": 1000, "2": 1000, "3": 1000, "4": 1000}}`
   
   and let's say topicA has 100 partitions... no, never mind. :)
   (I agree no one would deal with this by hand if number of partitions goes 
really big, but it also means we should play with json handling.)
   
   It also brings another advantage: we no longer need to know about number of 
partitions per topic in prior.

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