[
https://issues.apache.org/jira/browse/NIFI-14624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956393#comment-17956393
]
Paul Grey commented on NIFI-14624:
----------------------------------
[~freddicola]
Thanks for your efforts! It is often easier to work through problems when
users are able to rebuild the application themselves.
The image you sent suggests you are using the new "name" for the PublishKafka
property. So that's good.
There are four NARs associated with the kafka bundle. You will want to replace
each of those in your installation, keeping in mind that those are unpacked by
NiFi at startup into a work directory. It should be safe to delete the "work"
folder (with NiFi process stopped), to make sure NiFi is using the correct
version. NiFi will recreate the "work" folder when it is next started.
{noformat}
... after fresh build
greyp9/nifi/nifi-assembly/target/nifi-2.5.0-SNAPSHOT-bin/nifi-2.5.0-SNAPSHOT %
find . -name "nifi-kafka*.nar*"
./lib/nifi-kafka-service-aws-nar-2.5.0-SNAPSHOT.nar
./lib/nifi-kafka-nar-2.5.0-SNAPSHOT.nar
./lib/nifi-kafka-3-service-nar-2.5.0-SNAPSHOT.nar
./lib/nifi-kafka-service-api-nar-2.5.0-SNAPSHOT.nar
... after running NiFi for the first time
greyp9/nifi/nifi-assembly/target/nifi-2.5.0-SNAPSHOT-bin/nifi-2.5.0-SNAPSHOT %
find . -name "nifi-kafka*.nar*"
./work/nar/extensions/nifi-kafka-nar-2.5.0-SNAPSHOT.nar-unpacked
./work/nar/extensions/nifi-kafka-service-aws-nar-2.5.0-SNAPSHOT.nar-unpacked
./work/nar/extensions/nifi-kafka-3-service-nar-2.5.0-SNAPSHOT.nar-unpacked
./work/nar/extensions/nifi-kafka-service-api-nar-2.5.0-SNAPSHOT.nar-unpacked
./lib/nifi-kafka-service-aws-nar-2.5.0-SNAPSHOT.nar
./lib/nifi-kafka-nar-2.5.0-SNAPSHOT.nar
./lib/nifi-kafka-3-service-nar-2.5.0-SNAPSHOT.nar
./lib/nifi-kafka-service-api-nar-2.5.0-SNAPSHOT.nar
{noformat}
> Kafka Publisher fails when content is larger than 1MB after V 2.5.0 SNAPSHOT
> ----------------------------------------------------------------------------
>
> Key: NIFI-14624
> URL: https://issues.apache.org/jira/browse/NIFI-14624
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 2.4.0
> Reporter: Jeongsik Kim
> Assignee: Paul Grey
> Priority: Blocker
> Attachments: image-2025-06-04-07-53-12-377.png,
> image-2025-06-05-13-05-27-048.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Although I have replaced with the resolved version, 2.5.0 SNAPSHOT of issue
> NIFI-14545
> However, the version is still producing RecordToLargeException when the
> content is larger than 1MB.
> As you can see, the resolved PublishKafka 2.5.0-SNAPSHOT shows with error
> message.
> !image-2025-06-04-07-53-12-377.png!
>
> Actually, it occurred during migrating from 1.24.0, however version 1 works
> properly on the same Kafka configuration,
> message.max.bytes=54857600 // 50MB about
> I think it is possible that version 2.4.0 requests the specialized
> configuration for Kafka.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)