Hi, I tried both the suggestions given in the previous mail threads, all the unit tests passed except for testMuteOnOOM(). But the issue with IDE persists. I even tried invalidating the cache a few times, deleted the .bin/ and .idea/ folder and built again but there are quite few imports that aren't being resolved (especially kafka.server, kafka.zk and kafka.log). I'm attaching the result of the unit test here. [image: Screen Shot 2022-11-11 at 10.45.48 AM.png] TIA.
On Fri, Nov 11, 2022 at 5:04 AM John Roesler <vvcep...@apache.org> wrote: > Hello Vinay, > > One thing I’ve noticed recently is that I have to click the “build” button > in intellij before I can use the “run” or “debug” buttons. I’m not sure > why. > > Welcome to the community! > -John > > On Fri, Nov 11, 2022, at 02:47, deng ziming wrote: > > Hello, Vinay > > Kafka uses gradlew as build tool and java/scala as program language, > > You can firstly use `./gradlew unitTest` to build it using terminal, > > and reload it in gradle window, sometimes I also change default build > > tool from IDEA to gradle in Preference/Build/build tools/Gradle: > > > > PastedGraphic-1.tiff > > > > -- > > Ziming > > > >> On Nov 11, 2022, at 13:30, vinay deshpande <vinayhu...@gmail.com> > wrote: > >> > >> Hi All, > >> I have a basic question: I tried importing kafka source code into > intellij > >> but there are bunch of imports that IDE cannot find like these: > >> > >> import kafka.api.ApiVersion; > >> import kafka.log.CleanerConfig; > >> import kafka.log.LogConfig; > >> import kafka.log.LogManager; > >> > >> > >> TIA. > >> > >> Thanks, > >> Vinay >