Reversing the question. What is the problem with using an interface? It
seem, and interface would provide the cleanest way to separate public
and internal things? Or maybe I misunderstand what you propose?
We can for sure not have a `private` constructor.
We can also not have "package private" constructor, because the class is
public, but we instantiate it from multiple different (internal) packages.
`protected` could maybe work, but `protected` it technically still
public API, so if we need to change the constructor, we would need to do
a KIP.
-Matthias
On 3/5/25 9:22 AM, Ismael Juma wrote:
Hi,
Thanks for the KIP. Why did we reject the alternative where the constructor
is unavailable to external users?
Ismael
On Tue, Feb 25, 2025 at 8:27 AM Paweł Szymczyk <pawel.szymczy...@gmail.com>
wrote:
https://cwiki.apache.org/confluence/display/KAFKA/KIP-1136%3A+Make+ConsumerGroupMetadata+an+interface
--
Pozdrawiam
Paweł Szymczyk