You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by lz...@apache.org on 2022/04/14 07:14:21 UTC

[flink-table-store] 08/15: [hotfix] Shade kafka dependencies

This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch release-0.1
in repository https://gitbox.apache.org/repos/asf/flink-table-store.git

commit 7cbef7fe2c3be62e5b85dceedf8b4a230723249a
Author: tsreaper <ts...@gmail.com>
AuthorDate: Fri Apr 8 17:03:11 2022 +0800

    [hotfix] Shade kafka dependencies
    
    This closes #81
---
 flink-table-store-dist/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/flink-table-store-dist/pom.xml b/flink-table-store-dist/pom.xml
index f745d85..23953b1 100644
--- a/flink-table-store-dist/pom.xml
+++ b/flink-table-store-dist/pom.xml
@@ -208,6 +208,14 @@ under the License.
                                     <pattern>com.google.protobuf</pattern>
                                     <shadedPattern>org.apache.flink.table.store.shaded.com.google.protobuf</shadedPattern>
                                 </relocation>
+                                <!--
+                                flink-sql-connector-kafka contains shaded kafka classes.
+                                As we've shaded kafka connector we also need to shade kafka dependencies.
+                                -->
+                                <relocation>
+                                    <pattern>org.apache.kafka</pattern>
+                                    <shadedPattern>org.apache.flink.table.store.shaded.org.apache.flink.kafka.shaded.org.apache.kafka</shadedPattern>
+                                </relocation>
                             </relocations>
                         </configuration>
                     </execution>