wolfstudy removed a comment on issue #5109: [function]ProtobufSchema.of  run 
time error
URL: https://github.com/apache/pulsar/issues/5109#issuecomment-547318672
 
 
   @LeisureChou 
   
   In Pulsar Functions runtime, we use `protobuf-shaded`, but when you use 
`ProtobufSchema`, you use a non-shaded protobuf, which makes the two 
incompatible.
   
   
   ```
   <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>protobuf-shaded</artifactId>
         <version>${pulsar.protobuf.shaded.version}</version>
         <exclusions>
           <exclusion>
             <groupId>com.google.protobuf</groupId>
             <artifactId>protobuf-java</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
   ```
   
    You can use the `maven-shade-plugin` to rename the protobuf to solve.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to