<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Blue Prism VBO for Apache Kafka, how do we send a header value? in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101844#M3296</link>
    <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;This is what we ended up doing to solve:&lt;BR /&gt;&lt;BR /&gt;​We were able to alter the produce action to accept a headers parameter, and include in the message contents.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36839.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36851i5691AAA74E4BE1BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="36839.png" alt="36839.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The headers parameter is a string of key/value pairs that get converted in the altered produce action into header type objects.&amp;nbsp; The input string is configured like such:&lt;BR /&gt;&lt;BR /&gt;"Header 1:This is Header 1,Header 2:This is header 2"&lt;BR /&gt;&lt;BR /&gt;We also made the following imports to the end of the global code options in the produce action:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36840.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36848iB2AFFF94ECF11614/image-size/large?v=v2&amp;amp;px=999" role="button" title="36840.png" alt="36840.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 27 Jan 2022 19:47:35 GMT</pubDate>
    <dc:creator>TaylorHuisman</dc:creator>
    <dc:date>2022-01-27T19:47:35Z</dc:date>
    <item>
      <title>Using Blue Prism VBO for Apache Kafka, how do we send a header value?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101842#M3294</link>
      <description>In the consume and produce action, there is an input field for key and value but nothing for sending headers.&amp;nbsp; We would like headers added to our message.&amp;nbsp; Is there any way to access this functionality?</description>
      <pubDate>Thu, 27 Jan 2022 15:03:29 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101842#M3294</guid>
      <dc:creator>TaylorHuisman</dc:creator>
      <dc:date>2022-01-27T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Blue Prism VBO for Apache Kafka, how do we send a header value?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101843#M3295</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/41925"&gt;@TaylorHuisman&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;It is possible, but it will take some rework of the code. Within the Confluent .NET library there's the Message class which is what we're creating and passing in the Produce() and ProduceAsync() actions. The Message class exposes a property called Headers that you would need to set with your specific header information. Unfortunately, due to the way the code is currently structured in the Code stages you can't just pass it in as the Message object is being created within the library call to Produce() and ProduceAsync().&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36837.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36850i18158A41977EC4C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="36837.png" alt="36837.png" /&gt;&lt;/span&gt;&lt;BR /&gt;So what would need to be done is to pull the instantiation of the Message object out of the function call and then just pass the actual instance of Message object to the function. Hopefully that makes sense. It would basically look like this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36838.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36855iFF631AE32A7BC691/image-size/large?v=v2&amp;amp;px=999" role="button" title="36838.png" alt="36838.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This is a bit of a contrived example because of the hardcoding and limit of 3 headers, but hopefully you get the idea. I'll add an item to our backlog to get the Kafka VBOs updated to support the use of Message Headers.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​</description>
      <pubDate>Thu, 27 Jan 2022 18:58:27 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101843#M3295</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-27T18:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Blue Prism VBO for Apache Kafka, how do we send a header value?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101844#M3296</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;This is what we ended up doing to solve:&lt;BR /&gt;&lt;BR /&gt;​We were able to alter the produce action to accept a headers parameter, and include in the message contents.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36839.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36851i5691AAA74E4BE1BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="36839.png" alt="36839.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The headers parameter is a string of key/value pairs that get converted in the altered produce action into header type objects.&amp;nbsp; The input string is configured like such:&lt;BR /&gt;&lt;BR /&gt;"Header 1:This is Header 1,Header 2:This is header 2"&lt;BR /&gt;&lt;BR /&gt;We also made the following imports to the end of the global code options in the produce action:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36840.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36848iB2AFFF94ECF11614/image-size/large?v=v2&amp;amp;px=999" role="button" title="36840.png" alt="36840.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 27 Jan 2022 19:47:35 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101844#M3296</guid>
      <dc:creator>TaylorHuisman</dc:creator>
      <dc:date>2022-01-27T19:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Blue Prism VBO for Apache Kafka, how do we send a header value?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101845#M3297</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/41925"&gt;@TaylorHuisman&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for the feedback. I also noticed your review of the Avro connector on the DX. At the time these assets were developed there was an issue that required us to roll back to an earlier version of the Confluent .NET library which in turn necessitated the use of the older System.Memory DLL. We've since built newer versions of the VBOs on the current 1.8.2 stable release of the Confluent library which uses a newer version of System.Memory.&lt;BR /&gt;&lt;BR /&gt;We're going back now and and adding support for Message Headers, but we'll be going the Collection route for passing them in. Happy to discuss this decision if you're interested. Hopefully we'll have the new assets tested and posted to the DX sometime next week.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​</description>
      <pubDate>Thu, 27 Jan 2022 20:19:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101845#M3297</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-27T20:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Blue Prism VBO for Apache Kafka, how do we send a header value?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101846#M3298</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/41925"&gt;@TaylorHuisman&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;FYI - We posted v1.1.0 of the Apache Kafka w/ Avro VBOs today. The new VBOs include support for message headers. We also reworked the support file archives. Now there are essentially 3 zip files:&lt;BR /&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Core Kafka libraries (apply to any version of BP from 6.5 to 7.0)&lt;/LI&gt;
&lt;LI&gt;Support libraries for BP versions 6.5 to 6.7&lt;/LI&gt;
&lt;LI&gt;Support libraries for BP versions 6.8 to 6.9&lt;/LI&gt;
&lt;LI&gt;If you're running v6.10 to v7.0, you only need to core Kafka libraries.&lt;/LI&gt;
&lt;/UL&gt;
Cheers,&lt;BR /&gt;Eric​</description>
      <pubDate>Sat, 29 Jan 2022 04:40:50 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Using-Blue-Prism-VBO-for-Apache-Kafka-how-do-we-send-a-header/m-p/101846#M3298</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-29T04:40:50Z</dc:date>
    </item>
  </channel>
</rss>

