Pedro H S Teixeira
08/16/2023, 9:39 PMThen compile and package the classes (there is no need to package proto-java into the jar)
but if not bundling it, I am seeing:
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.MessageOrBuilder
and if trying to bundle (same version as com.google.protobuf:protobuf-java:3.21.7)
Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch target 41
Exception Details:
Location:
org/apache/flink/formats/protobuf/serialize/GeneratedRowToProto_3e0fdff328084dca9ce30c73110655d2.encode(Lorg/apache/flink/table/data/RowData;)Lcom/google/protobuf/AbstractMessage
any advice from dealing with this type of conflict? using this format with kafka connectorPedro H S Teixeira
08/16/2023, 9:46 PMflink-sql-protobuf or flink-protobuf in lib yields similar VerifyErrorPedro H S Teixeira
08/17/2023, 6:50 PMJVM_ARGS="-noverify -Xverify:none"