forked from streamnative/kop
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the compatibility issue with Pulsar 2.11.0 (streamnative#1734)
### Motivation apache/pulsar#17696 removes the `powermock-reflect` dependency, which leads to a compilation error in KoP. ### Modifications Upgrade the Pulsar dependency to 2.11.0.0-rc5. Then replace `Whitebox.invokeMethod` with `MethodUtils.invokeMethod`. It also fixes the bug that null values are not handled well for non-batched messages. This bug was exposed because of [PIP-189](apache/pulsar#16605).
- Loading branch information
1 parent
b1f88c7
commit 9b34d1c
Showing
3 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters