File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,12 @@ if [ -e "$CONFFILE" ]; then
118118 output_affinity=" @$OUTPUT_WORKER_CPU "
119119 fi
120120
121- output=" -o ipfix$output_affinity ;host=${HOST:- 127.0.0.1} ;port=${PORT:- 4739} ;id=${LINK:- 0} ;dir=${DIR:- 0} ;${UDP_PARAM} ;${NON_BLOCKING_TCP_PARAM} ;template=${TEMPLATE_REFRESH_RATE:- 300} "
121+ LZ4_COMPRESSION_PARAM=" "
122+ if [[ $LZ4_COMPRESSION == " yes" ]]; then
123+ LZ4_COMPRESSION_PARAM=" lz4-compression" ;
124+ fi
125+
126+ output=" -o ipfix$output_affinity ;host=${HOST:- 127.0.0.1} ;port=${PORT:- 4739} ;id=${LINK:- 0} ;dir=${DIR:- 0} ;${UDP_PARAM} ;${NON_BLOCKING_TCP_PARAM} ;${LZ4_COMPRESSION_PARAM} ;template=${TEMPLATE_REFRESH_RATE:- 300} "
122127
123128 telemetry=" "
124129 if [ " $USE_FUSE " = " 1" ]; then
Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ TEMPLATE_REFRESH_RATE=300
197197# Define output worker (thread) affinity, e.g. CPU core isolated from the scheduler
198198#OUTPUT_WORKER_CPU=12
199199
200+ # Enable LZ4 compression (only with TCP)
201+ LZ4_COMPRESSION=no
202+
200203####### Fuse telemetry
201204
202205USE_FUSE=0
You can’t perform that action at this time.
0 commit comments