There's a regression after update to 3.3.1 in non-Kraft mode The port always creates /var/db/kafka/kraft dir. But it brokes the Kafka environment. ===== [2022-10-24 12:37:48,099] ERROR Exiting Kafka due to fatal exception during startup. (kafka.Kafka$) org.apache.kafka.common.KafkaException: Found directory /var/db/kafka/kraft, 'kraft' is not in the form of topic-partition or topic-partition.uniqueId-delete (if marked for deletion). Kafka's log directories (and children) should only contain Kafka topic data. ====
Created attachment 237821 [details] port patch So sorry about that. Can you test this patch?
(In reply to Pavel Timofeev from comment #1) Thx. The patch works successfully.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=93b244dc10ce303f458a8e73683c18033de44fc0 commit 93b244dc10ce303f458a8e73683c18033de44fc0 Author: Pavel Timofeev <timp87@gmail.com> AuthorDate: 2022-12-18 09:31:11 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2022-12-18 19:21:55 +0000 net/kafka: fix regression in non-Kraft mode after update to 3.3.1 "There's a regression after update to 3.3.1 in non-Kraft mode The port always creates /var/db/kafka/kraft dir. But it brokes the Kafka environment." PR: 267309 Approved by: rene Differential Revision: https://reviews.freebsd.org/D37731 net/kafka/Makefile | 18 +++++++++++------- net/kafka/pkg-plist | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-)
Committed. Thanks for your work!