Hi, I have updated this KIP <https://cwiki.apache.org/confluence/display/KAFKA/KIP-1045%3A+Move+MockAdminClient+to+public+api> to a proposal now.
Hoping to get any thoughts or opinions. - Moving MockAdminClient to the src folder and making it public making it similar to MockProducer and MockConsumer. Thanks, Murali On Mon, May 20, 2024 at 10:51 PM Muralidhar Basani < muralidhar.bas...@aiven.io> wrote: > Hi all, > > Any thoughts on this ? In my view, it helps developers in having an end to > end testing framework embedded into their applications, right from mocking > of creating topics, acls itself. > Even though creation and listing of these are done during design time, > automating these could be beneficial. > > MockProducer and MockConsumer are part of the public api already. > > Thanks, > Murali > > On Thu, May 16, 2024 at 11:10 AM Muralidhar Basani < > muralidhar.bas...@aiven.io> wrote: > >> Hello, >> >> As part of this KIP, I would like to take your opinions in >> moving MockAdminClient to the src folder, making it public, would it be >> beneficial or not. >> >> KIP-1045 >> <https://cwiki.apache.org/confluence/display/KAFKA/KIP-1045%3A+Decide+MockAdminClient+to+move+to+public+api+or+not> >> >> Currently MockConsumer and MockProducer are part of the public API. They >> are useful for developers wanting to test their applications. On the other >> hand MockAdminClient is not part of the public API (it's under test). We >> should consider moving it to src so users can also easily test applications >> that depend on Admin. (Mentioned by Mickael Maison in KAFKA-15258 >> <https://issues.apache.org/jira/browse/KAFKA-15258>) >> >> Thanks, >> Murali >> >> Muralidhar Basani >> Staff Software Engineer, Aiven >> muralidhar.bas...@aiven.io >> >>