<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="ltr">
<div></div>
<div>
<div dir="ltr">fyi:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><a href="https://github.com/syslog-ng/syslog-ng/pull/3372">https://github.com/syslog-ng/syslog-ng/pull/3372</a><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">regards,</div>
<div dir="ltr">Laszlo Budai</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of Ronald Fenner <rfenner@gamecircus.com><br>
<b>Sent:</b> Wednesday, August 5, 2020 8:21:07 PM<br>
<b>To:</b> Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu><br>
<b>Subject:</b> [syslog-ng] Kafka-c topics dynamic</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div style="background-color:#FFEB9C; width:100%; border-style:solid; border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Black; text-align:left">
<span style="color:#9C6500; font-weight:bold">CAUTION:</span> This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.</div>
<br>
<div>When I was using the java implementation I extracted the topic dynamically from the message to route the message to the proper topic.
<div class=""><br class="">
</div>
<div class="">I see in Kafka c implementation that the topic can't use templates so my old method of doing this <span class="" style="color:rgb(74,92,110); font-family:"JetBrains Mono",monospace; font-size:9.8pt; background-color:rgb(255,255,255)">topic("${topic}.${environment}")</span>
<div class="">No longer works.</div>
<div class=""><br class="">
</div>
<div class="">Is there a way to reproduce this or do I need to go back to the java version for now?</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="" 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-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; word-wrap:break-word">
<div class="" 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-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; word-wrap:break-word">
<div class="" 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-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; word-wrap:break-word">
<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>
</div>
</div>
</body>
</html>