Skip to content

Commit

Permalink
Fix Flink Example broken for dependency problems apache#3951
Browse files Browse the repository at this point in the history
Signed-off-by: forjingma <[email protected]>

## Motivation
In pulsar 2.3 Flink example is broken. User will encountere java.lang.NoClassDefFoundError when running PulsarConsumerSourceWordCount example.

## Modifications
The fix is add bouncycastle into shaded fat jar.

## Verifying this change
Verified by flink-1.6.1 and pulsar-2.3.0.
  • Loading branch information
forjingma authored and jiazhai committed Mar 30, 2019
1 parent 86438db commit 129b95d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
<include>org/apache/flink/streaming/examples/kafka/**</include>
<include>org/apache/flink/streaming/**</include>
<include>org/apache/pulsar/**</include>
<include>org/bouncycastle/**</include>
<include>org/apache/flink/batch/**</include>
<include>net/jpountz/**</include>
<include>com/scurrilous/circe/**</include>
Expand Down

0 comments on commit 129b95d

Please sign in to comment.