mjsax commented on code in PR #21674:
URL: https://github.com/apache/kafka/pull/21674#discussion_r3186299715


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBStore.java:
##########
@@ -181,8 +181,11 @@ public void init(final StateStoreContext stateStoreContext,
             false);
     }
 
+    // This method must be public, to allow us to share code inside 
AbstractSegments#openSegmentDB(...)
+    // We declare the same method on interface Segment.openDB(...) to make it 
accessible
+    // and interface methods are `public`
     @SuppressWarnings("unchecked")
-    void openDB(final Map<String, Object> configs, final File stateDir) {
+    public void openDB(final Map<String, Object> configs, final File stateDir) 
{

Review Comment:
   Yes, this one is the really bad one... I'll revert it.



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

Reply via email to