[
https://issues.apache.org/jira/browse/KAFKA-15875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josep Prat updated KAFKA-15875:
-------------------------------
Fix Version/s: 4.0.0
> Snapshot class is package protected but returned in public methods
> ------------------------------------------------------------------
>
> Key: KAFKA-15875
> URL: https://issues.apache.org/jira/browse/KAFKA-15875
> Project: Kafka
> Issue Type: Task
> Components: core
> Affects Versions: 3.6.0
> Reporter: Josep Prat
> Assignee: Josep Prat
> Priority: Major
> Labels: server-common
> Fix For: 4.0.0
>
>
> org.apache.kafka.timeline.Snapshot class is package protected but it is part
> of the public API of org.apache.kafka.timeline.SnapshotRegistry. This might
> cause compilation errors if we ever try to assign the returned object of
> these methods to a variable.
> org.apache.kafka.controller.OffsetControlManager is calling
> SnapshotRegistry's methods that return a Snapshot and OffsetControlManager is
> in another package.
>
> The SnapshotRegistry class seems to not be public API so I don't think this
> needs a KIP.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)