<?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>question Re: Get a list of redis cache keys in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/385201#M245648</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;Hi! Do you have any insights here? Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 19:48:53 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2024-03-19T19:48:53Z</dc:date>
    <item>
      <title>Get a list of redis cache keys</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/384950#M245575</link>
      <description>&lt;P&gt;Hi there ,&lt;/P&gt;&lt;P&gt;We are looking for a way to list all keys of redis cache thru nifi. The best solution we found was a groovy script from this article&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Get-list-of-keys-in-NiFi-DistributedMapCache/m-p/384944#M245571&amp;nbsp;" target="_self"&gt;Get list of keys in NiFi DistributedMapCache&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script looks good and exactly what we are looking for. But when we try to implement it, we get the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_0-1710334742413.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40054i8EA69700FFB19753/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_0-1710334742413.png" alt="Dave0x1_0-1710334742413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We are using the invokescriptprocessor and configure like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave0x1_1-1710334742695.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40053i650C0BFDB51E5D9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave0x1_1-1710334742695.png" alt="Dave0x1_1-1710334742695.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What are we missing here&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji"&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;Or another solutions is also more than welcome.&lt;/P&gt;&lt;P&gt;Thank you in advanced.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 13:03:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/384950#M245575</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-03-13T13:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get a list of redis cache keys</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/385201#M245648</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;Hi! Do you have any insights here? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 19:48:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/385201#M245648</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-03-19T19:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get a list of redis cache keys</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/385202#M245649</link>
      <description>&lt;P&gt;The post you linked to has the command-line version of the Groovy script, it's based on my blog post at:&amp;nbsp;&lt;A href="https://funnifi.blogspot.com/2016/04/inspecting-your-nifi.html" target="_blank"&gt;https://funnifi.blogspot.com/2016/04/inspecting-your-nifi.html&lt;/A&gt;. You can put that code in your ExecuteScript (or InvokeScriptedProcessor in the onTrigger()). It might need slight alterations but should be pretty close. If you want to write them to a FlowFile you'll have to add that to the script as well.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 19:58:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/385202#M245649</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2024-03-19T19:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get a list of redis cache keys</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/385259#M245668</link>
      <description>&lt;P&gt;Hi there&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;&amp;nbsp;thank you for your reply. Let play around with your solution and see if i can get it working and write the output to a flowfile&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":nerd_face:"&gt;🤓&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 15:17:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Get-a-list-of-redis-cache-keys/m-p/385259#M245668</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-03-20T15:17:30Z</dc:date>
    </item>
  </channel>
</rss>

