Bug 286985 - net/kafka: Update to 3.9.1
Summary: net/kafka: Update to 3.9.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-21 23:57 UTC by Jesse Kempf
Modified: 2025-05-23 00:19 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (timp87)


Attachments
diff that updates Kafka port from 3.7.1 to 3.9.1 (6.84 KB, text/plain)
2025-05-21 23:57 UTC, Jesse Kempf
no flags Details
Patch for Kafka 3.7.1 -> 3.9.1 (7.07 KB, application/mbox)
2025-05-22 00:12 UTC, Jesse Kempf
no flags Details
Patch for Kafka 3.7.1 -> 3.9.1 (6.70 KB, patch)
2025-05-22 00:14 UTC, Jesse Kempf
no flags Details | Diff
Patch for Kafka 3.7.1 -> 3.9.1 (6.52 KB, patch)
2025-05-22 00:50 UTC, Jesse Kempf
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Kempf 2025-05-21 23:57:19 UTC
Created attachment 260612 [details]
diff that updates Kafka port from 3.7.1 to 3.9.1

Hi, I've put together an update to the Kafka port, to make it for 3.9.1. It also tightens up the JDK to need at least OpenJDK 23.

Regards,
-Jesse
Comment 1 Jesse Kempf 2025-05-22 00:12:20 UTC
Created attachment 260613 [details]
Patch for Kafka 3.7.1 -> 3.9.1
Comment 2 Jesse Kempf 2025-05-22 00:14:21 UTC
Created attachment 260614 [details]
Patch for Kafka 3.7.1 -> 3.9.1
Comment 3 Jesse Kempf 2025-05-22 00:50:37 UTC
Created attachment 260616 [details]
Patch for Kafka 3.7.1 -> 3.9.1

I realize that I was thinking about things the wrong way around when I tightened the Java version constraint, so I dropped that part of the change.

This is now a straight upgrade from 3.7.1 -> 3.9.1.
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-22 01:27:09 UTC
Why not 4.0.0?
Comment 5 Jesse Kempf 2025-05-22 01:37:56 UTC
(In reply to Vladimir Druzenko from comment #4)

Because 4.0 is an x.0 release.

Believe it or not, but I'd meant this to be 3.9.0. It seems that I had a brainfart yesterday when I took my first stab at this upgrade, and as luck would have it the artifacts for 3.9.1 had already landed yesterday. Apparently today is the official release date for 3.9.1. I wasn't actually meaning to hop on something as soon as it was released.

3.9.x is the end of the line for Zookeeper-based cluster metadata, so going from 3.x -> 4.x for an existing cluster entails learning how to do a KRaft upgrade. I guess my thinking is that it's at least convenient to have a 3.9.x package one could manually install, regardless of where ports is at the moment.
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-22 14:17:35 UTC
(In reply to Jesse Kempf from comment #5)
Ok. Waiting maintainer (or 2 weeks timeout).
Comment 7 Pavel Timofeev 2025-05-22 23:30:45 UTC
Comment on attachment 260616 [details]
Patch for Kafka 3.7.1 -> 3.9.1

Thank you for the contribution!
Comment 8 Pavel Timofeev 2025-05-22 23:31:25 UTC
This was my approval btw
Comment 9 commit-hook freebsd_committer freebsd_triage 2025-05-23 00:16:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ce0f71deb3cf62ab5df49b5ae7d40b368e642f5

commit 3ce0f71deb3cf62ab5df49b5ae7d40b368e642f5
Author:     Jesse Kempf <jessekempf@gmail.com>
AuthorDate: 2025-05-23 00:06:47 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-23 00:06:47 +0000

    net/kafka: Update 3.7.1 => 3.9.1

    Release Notes:
    https://archive.apache.org/dist/kafka/3.7.2/RELEASE_NOTES.html
    https://archive.apache.org/dist/kafka/3.8.0/RELEASE_NOTES.html
    https://archive.apache.org/dist/kafka/3.8.1/RELEASE_NOTES.html
    https://archive.apache.org/dist/kafka/3.9.0/RELEASE_NOTES.html
    https://archive.apache.org/dist/kafka/3.9.1/RELEASE_NOTES.html

    PR:             286985
    Approved by:    Pavel Timofeev <timp87@gmail.com> (maintainer)

 net/kafka/Makefile  | 10 ++++-----
 net/kafka/distinfo  |  6 +++---
 net/kafka/pkg-plist | 62 +++++++++++++++++++++++++++--------------------------
 3 files changed, 40 insertions(+), 38 deletions(-)
Comment 10 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-23 00:18:03 UTC
Thanks.
Comment 11 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-23 00:19:33 UTC
While here replace PORTVERSION with DISTVERSION in Makefile only.