binlijin commented on pull request #11224: URL: https://github.com/apache/druid/pull/11224#issuecomment-839510544
https://github.com/apache/pulsar/blob/6704f12104219611164aa2bb5bbdfc929613f1bf/pulsar-client/src/main/java/org/apache/pulsar/client/util/MessageIdUtils.java#L30 // Combine ledger id and entry id to form offset // Use less than 32 bits to represent entry id since it will get // rolled over way before overflowing the max int range Because it can be overflow. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
