This is an automated email from the ASF dual-hosted git repository.
zhaijia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 129b95d Fix Flink Example broken for dependency problems #3951
129b95d is described below
commit 129b95d02ab768d7d31c16e4efedd246fe441322
Author: forjingma <[email protected]>
AuthorDate: Sat Mar 30 11:10:09 2019 +0800
Fix Flink Example broken for dependency problems #3951
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.
---
examples/flink/pom.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/flink/pom.xml b/examples/flink/pom.xml
index ad35784..06201e7 100644
--- a/examples/flink/pom.xml
+++ b/examples/flink/pom.xml
@@ -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>