Hi Dan,

Considering that com.google.protobuf dependencies in the nifi-gcp-bundle
are transitive from the dependency on com.google.cloud:libraries-bom, and
NiFi uses the latest version 26.53.0 of libraries-bom released 12 days ago,
I don't think there's anything we should do about this warning yet.

-- Mike


On Mon, Jan 27, 2025 at 12:00 PM Dan S <dsti...@gmail.com> wrote:

> While reviewing the current release, I noticed when building there are many
> warning messages indicating com.google.protobuf.GeneratedMessageV3 is
> deprecated e.g.
>
>
> nifi-2.2.0/nifi-extension-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/vision/AbstractGetGcpVisionAnnotateOperationStatus.java:[93,16]
> [deprecation] GeneratedMessageV3 in com.google.protobuf has been deprecated
>
> com.google.protobuf.GeneratedMessageV3 is found in
> com.google.protobuf:protobuf-java:4.29.0. Per the Javadoc
> <
> https://www.javadoc.io/doc/com.google.protobuf/protobuf-java/4.29.0/com/google/protobuf/GeneratedMessageV3.html
> >
>
> This class is deprecated, and slated for removal in the next Java breaking
> > change (5.x). Users should update gencode to >= 4.26.x which uses
> > GeneratedMessage instead.
>
>
> Can someone who knows more about Protobuf explain to me what the Javadoc is
> suggesting to replace com.google.protobuf.GeneratedMessageV3 with? Does the
> current com.google.protobuf:protobuf-java:4.29.0 have the suggested
> replacement?
> Thanks!
>

Reply via email to