[
https://issues.apache.org/jira/browse/FLINK-21491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai closed FLINK-21491.
---------------------------------------
Resolution: Fixed
flink-statefun/master: ed73ce72652366b37c2cbfd23c949612a40dcb6c
> Properly shade Protobuf in statefun-sdk-java
> --------------------------------------------
>
> Key: FLINK-21491
> URL: https://issues.apache.org/jira/browse/FLINK-21491
> Project: Flink
> Issue Type: Task
> Components: Build System / Stateful Functions
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Major
> Labels: pull-request-available
> Fix For: statefun-3.0.0
>
>
> Currently, although we shade Protobuf in {{statefun-sdk-java}}, Protobuf is
> still treated as a transitive compile dependency. This can be checked by
> executing {{mvn dependency:tree}} on the {{statefun-sdk-java}} module.
> In our case, in order to properly shade this and remove the transitive
> dependency, we need to introduce a separate module specifically containing
> only the relocated protobuf classes, and let {{statefun-sdk-java}} depend on
> that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)