Yuvraj2172 opened a new pull request, #58829: URL: https://github.com/apache/spark/pull/58829
### What changes were proposed in this pull request? `KinesisInitialPosition` is now a public interface. It used to live in `KinesisInitialPositions.java` without a `public` modifier, but Java doesn't allow two public top-level types in the same file, so the interface has been split out into its own file, `KinesisInitialPosition.java`. Nothing else changes. ### Why are the changes needed? `KinesisInputDStream.Builder#initialPosition` takes a `KinesisInitialPosition` as its parameter, and it's a public API method. But since the interface itself was package-private, users could pass in `Latest`, `TrimHorizon`, or `AtTimestamp` instances, but couldn't actually write code that refers to the `KinesisInitialPosition` type itself. Making it public closes that gap. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
