You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Uladzislau Blok (Jira)" <ji...@apache.org> on 2026/01/20 15:23:00 UTC

[jira] [Created] (KAFKA-20082) Hide record implementation from user

Uladzislau Blok created KAFKA-20082:
---------------------------------------

             Summary: Hide record implementation from user
                 Key: KAFKA-20082
                 URL: https://issues.apache.org/jira/browse/KAFKA-20082
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: Uladzislau Blok
            Assignee: Uladzislau Blok


I found a leak of internal implementation details in the api module. We’re currently exposing {{InternalFixedKeyRecordFactory}} with a "do not use" doc warning, which isn't ideal.

I propose exposing only the interface and moving the implementation/constructor to the internals module with package-private access. We can then remove the factory and refactor the record similarly, providing a public API to create it from scratch.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)