conduktor.io ↗

KIP-692 — Make AdminClient value object constructors public

Discussion AdminTesting

Makes the constructors of `AdminClient` result value objects (e.g., `TopicDescription`, `MemberDescription`) public so that test code can instantiate them directly without reflection or mocking frameworks. Currently most of these constructors are package-private, forcing developers to use complex mocking setups to construct realistic `AdminClient` responses in unit tests.

Details

AuthorNoa Resare
StatusDiscussion
JIRAKAFKA-10490
WikiView on Apache Wiki
Created2020-12-03
Last Modified2020-12-03
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.