File tree Expand file tree Collapse file tree 5 files changed +713
-0
lines changed
Expand file tree Collapse file tree 5 files changed +713
-0
lines changed Original file line number Diff line number Diff line change @@ -1332,6 +1332,14 @@ if (FLB_IN_EBPF)
13321332
13331333endif ()
13341334
1335+ # AMQP
1336+ # ==========
1337+ find_package (rabbitmq-c )
1338+ if (FLB_IN_AMQP AND (NOT rabbitmq-c_FOUND))
1339+ message (STATUS "rabbitmq-c is not found. Disabling AMQP support." )
1340+ FLB_OPTION (FLB_IN_AMQP OFF )
1341+ endif ()
1342+
13351343# Pthread Local Storage
13361344# =====================
13371345# By default we expect the compiler already support thread local storage
Original file line number Diff line number Diff line change @@ -340,6 +340,7 @@ REGISTER_IN_PLUGIN("in_mqtt")
340340REGISTER_IN_PLUGIN ("in_lib" )
341341REGISTER_IN_PLUGIN ("in_forward" )
342342REGISTER_IN_PLUGIN ("in_random" )
343+ REGISTER_IN_PLUGIN ("in_amqp" )
343344
344345# PROCESSORS
345346# ==========
Original file line number Diff line number Diff line change 1+ set (src
2+ in_amqp.c)
3+
4+ FLB_PLUGIN (in_amqp "${src} " rabbitmq::rabbitmq )
You can’t perform that action at this time.
0 commit comments