[jira] [Created] (FLINK-21491) Properly shade Protobuf in statefun-sdk-java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21491) Properly shade Protobuf in statefun-sdk-java

Shang Yuanchun (Jira)
Tzu-Li (Gordon) Tai created FLINK-21491:
-------------------------------------------

             Summary: 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
             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)