From 334b3727ad43f28ad86dfb396833884735c4132a Mon Sep 17 00:00:00 2001 From: Thiago Padilha Date: Wed, 26 Apr 2023 08:43:48 -0300 Subject: [PATCH 1/2] build: Enable in_kafka and out_kafka by default Signed-off-by: Thiago Padilha --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca946ad2836..778080a87a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -169,7 +169,7 @@ option(FLB_IN_FORWARD "Enable Forward input plugin" option(FLB_IN_HEALTH "Enable Health input plugin" Yes) option(FLB_IN_HTTP "Enable HTTP input plugin" Yes) option(FLB_IN_MEM "Enable Memory input plugin" Yes) -option(FLB_IN_KAFKA "Enable Kafka input plugin" No) +option(FLB_IN_KAFKA "Enable Kafka input plugin" Yes) option(FLB_IN_KMSG "Enable Kernel log input plugin" Yes) option(FLB_IN_LIB "Enable library mode input plugin" Yes) option(FLB_IN_RANDOM "Enable random input plugin" Yes) @@ -236,7 +236,7 @@ option(FLB_OUT_NULL "Enable dev null output plugin" option(FLB_OUT_FLOWCOUNTER "Enable flowcount output plugin" Yes) option(FLB_OUT_LOGDNA "Enable LogDNA output plugin" Yes) option(FLB_OUT_LOKI "Enable Loki output plugin" Yes) -option(FLB_OUT_KAFKA "Enable Kafka output plugin" No) +option(FLB_OUT_KAFKA "Enable Kafka output plugin" Yes) option(FLB_OUT_KAFKA_REST "Enable Kafka Rest output plugin" Yes) option(FLB_OUT_CLOUDWATCH_LOGS "Enable AWS CloudWatch output plugin" Yes) option(FLB_OUT_KINESIS_FIREHOSE "Enable AWS Firehose output plugin" Yes) From 70069f0d7d64c4e31a0f8db46e3ea75e5c254437 Mon Sep 17 00:00:00 2001 From: Thiago Padilha Date: Wed, 26 Apr 2023 12:17:01 -0300 Subject: [PATCH 2/2] build: Only enable kafka by default if system is not windows Signed-off-by: Thiago Padilha --- cmake/windows-setup.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/windows-setup.cmake b/cmake/windows-setup.cmake index 1dd4bbde85b..819865362bc 100644 --- a/cmake/windows-setup.cmake +++ b/cmake/windows-setup.cmake @@ -34,6 +34,7 @@ if(FLB_WINDOWS_DEFAULTS) set(FLB_IN_HEALTH No) set(FLB_IN_HTTP No) set(FLB_IN_MEM No) + set(FLB_IN_KAFKA No) set(FLB_IN_KMSG No) set(FLB_IN_LIB Yes) set(FLB_IN_RANDOM Yes)