Skip to content

DUNE-DAQ/erskafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configuration

The erskafka plugin is configured through the ERS settings. Users that want make use of it need to set up a work area environment and define/extend the following ERS environment variables as described on this page.

Tell ERS to load the erskafka plugin:

export DUNEDAQ_ERS_STREAM_LIBS=erskafka

Set the partition name. The partition name allows to clearly distinguish the origin of the ERS messages, thus avoiding mixing information from different DAQ instances:

export DUNEDAQ_PARTITION=ChooseYourPartitionName

Extend the ERS variables which define the output streams to be used for Issues of different severities:

export DUNEDAQ_ERS_INFO="erstrace,throttle(30,100),lstdout,erskafka(dqmbroadcast:9092)"
export DUNEDAQ_ERS_WARNING="erstrace,throttle(30,100),lstderr,erskafka(dqmbroadcast:9092)"
export DUNEDAQ_ERS_ERROR="erstrace,throttle(30,100),lstderr,erskafka(dqmbroadcast:9092)"
export DUNEDAQ_ERS_FATAL="erstrace,lstderr,erskafka(dqmbroadcast:9092)"

The current working configurations are found in daqconf