<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I'm trying to switch from the java version of kafka to the c version and have built syslog with the following config:<div class=""><pre style="background-color: rgb(255, 255, 255); color: rgb(74, 92, 110); font-family: "JetBrains Mono", monospace; font-size: 9.8pt;" class=""><span style="color: rgb(241, 142, 59); font-style: italic;" class="">./configure </span>--prefix=/opt/syslog-ng --enable-json --enable-python --with-python=2.7 --enable-kafka<br class=""></pre><div class=""><br class=""></div><div class="">However when I try syntax check the config it's returning this error:</div><div class=""><div class="">Error parsing destination statement, destination plugin kafka-c not found in block destination kafka() at /opt/syslog-ng/share/syslog-ng/include/scl/kafka/kafka.conf:24:4:5-4:12:</div><div class="">1</div><div class="">2       #Start Block block destination kafka() at /opt/syslog-ng/share/syslog-ng/include/scl/kafka/kafka.conf:24</div><div class="">3</div><div class="">4----->     kafka-c(bootstrap_servers("kafka.service.consul:9092") topic("syslog-ng-production") );</div><div class="">4----->     ^^^^^^^</div><div class="">5</div><div class="">6       #End Block block destination kafka() at /opt/syslog-ng/share/syslog-ng/include/scl/kafka/kafka.conf:24</div><div class="">7</div><div class=""><br class=""></div><div class="">Included from /opt/syslog-ng/etc/syslog-ng.conf:33:5-36:6:</div><div class="">28      source s_rtl_raw_backup {</div><div class="">29          file("/var/gamecircus/log/rtl-raw-backup.log" flags(no-parse) log_msg_size(1000000));</div><div class="">30      };</div><div class="">31</div><div class="">32      destination d_kafka_unstructured {</div><div class="">33---->     kafka (</div><div class="">33---->     ^^^^^^^^</div><div class="">34---->         bootstrap-servers("kafka.service.consul:9092")</div><div class="">35---->         topic("syslog-ng-`DeployedEnvironment`")</div><div class="">36---->     );</div><div class="">37      };</div><div class="">38</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The top of my config looks like this</div><div class=""><pre style="background-color: rgb(255, 255, 255); color: rgb(74, 92, 110); font-family: "JetBrains Mono", monospace; font-size: 9.8pt;" class="">@version: <span style="color: rgb(166, 202, 145);" class="">3.28<br class=""></span>@include <span style="color: rgb(166, 202, 145);" class="">"scl.conf"<br class=""></span>@include <span style="color: rgb(166, 202, 145);" class="">"conf.d/gc-parsers.conf"<br class=""></span>@define <span style="color: rgb(166, 202, 145);" class="">kafka-implementation kafka-c<br class=""></span></pre><div class=""><br class=""></div></div><div class="">Everything looks correct just not sure why it's having a hard time finding it.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">Ronald Fenner</div><div class="">Network Architect</div><div class="">Game Circus LLC.</div></div><div class=""><br class=""></div><div class=""><a href="mailto:rfenner@gamecircus.com" class="">rfenner@gamecircus.com</a></div></div></div></div>
</div>
<br class=""></div></body></html>