PowerMock is no longer maintained. The last release way in January 2020.
It should be replaced with Mockito. A similar replacement was done in Pulsar in these PRs:
PowerMock / PowerMockito is holding back from upgrading to Mockito 4.11.0 . Mockito 4.11.x is the last version to support Java 8.
Getting rid of PowerMock will be needed for upgrading some other libraries for supporting newer JDK versions (Java 17 & Java 21).