Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Conversation

@BewareMyPower
Copy link
Collaborator

@BewareMyPower BewareMyPower commented Feb 22, 2023

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.

TODO

Migrate the bug fix for non-batched messages to branch-2.10.x and
branch-2.9.x.

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@BewareMyPower BewareMyPower self-assigned this Feb 22, 2023
@github-actions github-actions bot added no-need-doc This pr does not need any document labels Feb 22, 2023
### 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).

### TODO

Migrate the bug fix for non-batched messages to branch-2.10.x and
branch-2.9.x.
@codecov
Copy link

codecov bot commented Feb 22, 2023

Codecov Report

Merging #1734 (5914644) into master (37b1abe) will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1734   +/-   ##
=========================================
  Coverage     16.04%   16.04%           
  Complexity      625      625           
=========================================
  Files           165      165           
  Lines         12309    12308    -1     
  Branches       1127     1128    +1     
=========================================
  Hits           1975     1975           
+ Misses        10170    10169    -1     
  Partials        164      164           
Impacted Files Coverage Δ
...native/pulsar/handlers/kop/utils/ByteBufUtils.java 0.00% <0.00%> (ø)

@Demogorgon314 Demogorgon314 merged commit 88fe870 into streamnative:master Feb 22, 2023
Demogorgon314 pushed a commit that referenced this pull request Feb 22, 2023
### 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).

(cherry picked from commit 88fe870)
eolivelli pushed a commit to eolivelli/kop that referenced this pull request Feb 28, 2023
### 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).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants