Skip to content

Commit

Permalink
[FLINK-35235][pipeline-connector][kafka] Fix missing dependencies in …
Browse files Browse the repository at this point in the history
…the uber jar of Kafka pipeline sink
  • Loading branch information
lvyanquan committed Apr 26, 2024
1 parent 185f719 commit ec643c9
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,21 @@ limitations under the License.
</goals>
<configuration>
<shadeTestJar>false</shadeTestJar>
<artifactSet>
<includes>
<include>org.apache.kafka:*</include>
<include>org.apache.flink:flink-connector-kafka</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.apache.kafka</pattern>
<shadedPattern>org.apache.flink.cdc.connectors.kafka.shaded.org.apache.kafka</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.flink.connector.kafka</pattern>
<shadedPattern>org.apache.flink.cdc.connectors.kafka.shaded.org.apache.flink.connector.kafka</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
Expand Down

0 comments on commit ec643c9

Please sign in to comment.