<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sadhana Nandakumar on Medium]]></title>
        <description><![CDATA[Stories by Sadhana Nandakumar on Medium]]></description>
        <link>https://medium.com/@snandaku?source=rss-7c7b562c053c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XNAL3w2K-1K3SOqk</url>
            <title>Stories by Sadhana Nandakumar on Medium</title>
            <link>https://medium.com/@snandaku?source=rss-7c7b562c053c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:53:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@snandaku/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Show & Tell Series: Building and Deploying Securely with Agentforce]]></title>
            <link>https://snandaku.medium.com/show-tell-series-building-and-deploying-securely-with-agentforce-f8230bb24823?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8230bb24823</guid>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Tue, 07 Jan 2025 17:09:02 GMT</pubDate>
            <atom:updated>2025-01-07T17:09:02.672Z</atom:updated>
            <content:encoded><![CDATA[<p>Agentforce is the agentic layer of the Salesforce platform, empowering businesses to deploy autonomous AI agents across any business function. It provides a comprehensive suite of tools for creating and customizing agents, along with a rich library of pre-built skills for sales, service, marketing, commerce, Tableau, Slack, partner ecosystems, and more. However, effectively developing and deploying these sophisticated agents requires a robust and secure Application Lifecycle Management (ALM) strategy to ensure successful and risk-mitigated implementations.</p><p><strong>The Importance of a Secure ALM for Agentforce</strong></p><p>Developing Agentforce agents involves intricate interactions with data, workflows, and customer experiences within the Salesforce ecosystem. A robust ALM strategy is crucial for:</p><ul><li><strong>Data Security:</strong> Protecting sensitive customer and business data within the Salesforce environment from unauthorized access or accidental exposure during development and deployment.</li><li><strong>Service Continuity:</strong> Minimizing disruptions to critical business processes and ensuring uninterrupted customer service within the Salesforce platform.</li><li><strong>Quality Assurance:</strong> Enforcing rigorous testing and quality control measures throughout the Agentforce development cycle to ensure agent performance meets expectations.</li><li><strong>Compliance:</strong> Adhering to Salesforce security and compliance standards, as well as any industry-specific regulations.</li></ul><p><strong>The Role of Sandboxes in Secure Agentforce ALM</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LoNOUltHiV-Fb1X35QTnyg.gif" /></figure><p>Sandboxes play a pivotal role in this secure ALM framework for Agentforce. They provide isolated environments within the Salesforce ecosystem where developers can:</p><ul><li><strong>Prototype and Experiment:</strong> Safely test new Agentforce features, modify existing agent behaviors, and experiment with different configurations without impacting live customer interactions or core business processes.</li><li><strong>Conduct Thorough Testing:</strong> Rigorously test Agentforce agent behavior, identify potential issues, and refine their performance within the secure sandbox environment before deploying to production.</li><li><strong>Minimize Risks:</strong> Identify and mitigate potential risks, such as data breaches, service disruptions, and compliance violations, early in the Agentforce development cycle, minimizing the impact on live systems.</li></ul><p><strong>A Practical Example: Implementing Warranty Transfers</strong></p><p>Let’s consider the implementation of warranty transfer functionality for an e-commerce customer using Agentforce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qErIBsk5xM2srIrItpJAqA.gif" /></figure><p><strong>Development in a Salesforce Sandbox:</strong> Developers can utilize a sandbox to build and test the new Agentforce action that triggers the warranty transfer process. With data cloud support inside a sandbox, we can provide the critical data layer needed for succesful Agentforce implementations. The developers can experiment with different logic, integrate with relevant Salesforce objects and flows, and refine the agent’s behavior without affecting live customer interactions or core business processes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cdWwiz4KGnh6co3ITMcbpQ.gif" /></figure><p><strong>Rigorous Testing within the Sandbox:</strong> While there is built in testing capability inside the Agent Builder for turn by turn testing, given the non deterministic nature of the agents, we need more thorough testing to ensure we have the required results. With Testing Center, developers can test their changes across hundreds of test cases and iterate them to perfection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DyThax_e3GyGKjCVc95Y_A.gif" /></figure><p><strong>Controlled Deployment to Production:</strong> Once thoroughly tested and validated in the sandbox, the changes can be carefully packaged and deployed to production Salesforce environments using familiar tools — thanks to the Metadata API support.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a2Aqui9YlTAYv8MV49jv8g.gif" /></figure><p>And thats how we can make Agentforce implementations real for our enterprise customers. By integrating security throughout our development process. We can drive innovation while maintaining trust and ensuring compliance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8230bb24823" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unveiling the Medieval Charm of 'Bridgerton': From Corsets to Quills]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">
Hey Bridgerton&#xA0;fans! With the highly anticipated third season just around the corner (set to release in May!), isn&#x2019;t it the perfect time&#x2026;</p><p class="medium-feed-link"><a href="https://snandaku.medium.com/unveiling-the-medieval-charm-of-bridgerton-from-corsets-to-quills-aaf8b4de4253?source=rss-7c7b562c053c------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://snandaku.medium.com/unveiling-the-medieval-charm-of-bridgerton-from-corsets-to-quills-aaf8b4de4253?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaf8b4de4253</guid>
            <category><![CDATA[bridgerton]]></category>
            <category><![CDATA[medieval]]></category>
            <category><![CDATA[period-drama]]></category>
            <category><![CDATA[netflix]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Tue, 23 Apr 2024 14:58:22 GMT</pubDate>
            <atom:updated>2024-04-25T14:51:44.716Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Enhancing Productivity with Code Builder]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://snandaku.medium.com/enhancing-productivity-with-code-builder-06d65c90f4cb?source=rss-7c7b562c053c------2"><img src="https://cdn-images-1.medium.com/max/2560/1*a3hK8MVr21a9yDjyP5M-2g.gif" width="2560"></a></p><p class="medium-feed-snippet">Gone are the days of chained desks and clunky installations. Salesforce&#x2019;s Code Builder has arrived, a web-based development environment&#x2026;</p><p class="medium-feed-link"><a href="https://snandaku.medium.com/enhancing-productivity-with-code-builder-06d65c90f4cb?source=rss-7c7b562c053c------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://snandaku.medium.com/enhancing-productivity-with-code-builder-06d65c90f4cb?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/06d65c90f4cb</guid>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Tue, 23 Jan 2024 17:15:40 GMT</pubDate>
            <atom:updated>2024-01-23T17:15:40.839Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How Generative AI is Revolutionizing Email Communication]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://snandaku.medium.com/how-generative-ai-is-revolutionizing-email-communication-23f23d49c53a?source=rss-7c7b562c053c------2"><img src="https://cdn-images-1.medium.com/max/2560/1*e822-bsnHETdJD6uoSvyww.gif" width="2560"></a></p><p class="medium-feed-snippet">Ah, the dreaded customer service email. Both agents and customers alike know the drill&#x200A;&#x2014;&#x200A;generic responses that feel robotic, frustrating&#x2026;</p><p class="medium-feed-link"><a href="https://snandaku.medium.com/how-generative-ai-is-revolutionizing-email-communication-23f23d49c53a?source=rss-7c7b562c053c------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://snandaku.medium.com/how-generative-ai-is-revolutionizing-email-communication-23f23d49c53a?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/23f23d49c53a</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Tue, 02 Jan 2024 15:33:48 GMT</pubDate>
            <atom:updated>2024-01-07T00:47:49.381Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Einstein 1 Platform: Empowering Admins and Developers Hand-in-Hand]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://snandaku.medium.com/einstein-1-platform-empowering-admins-and-developers-hand-in-hand-36425946dbcf?source=rss-7c7b562c053c------2"><img src="https://cdn-images-1.medium.com/max/2560/1*V_dmbQVmN2jxQ7vUYzPYCA.gif" width="2560"></a></p><p class="medium-feed-snippet">Unleash AI-driven solutions with the power of collaboration</p><p class="medium-feed-link"><a href="https://snandaku.medium.com/einstein-1-platform-empowering-admins-and-developers-hand-in-hand-36425946dbcf?source=rss-7c7b562c053c------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://snandaku.medium.com/einstein-1-platform-empowering-admins-and-developers-hand-in-hand-36425946dbcf?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/36425946dbcf</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Mon, 11 Dec 2023 20:47:47 GMT</pubDate>
            <atom:updated>2024-01-07T00:43:22.292Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Monitoring Camel K applications using Prometheus and Grafana]]></title>
            <link>https://snandaku.medium.com/monitoring-camel-k-applications-using-prometheus-and-grafana-ef699d74afe2?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef699d74afe2</guid>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[camelk]]></category>
            <category><![CDATA[prometheus]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Wed, 27 Apr 2022 14:09:35 GMT</pubDate>
            <atom:updated>2022-04-27T14:09:35.485Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://camel.apache.org/camel-k/1.8.x/index.html">Camel K </a>is a lightweight integration framework built from Apache Camel to run natively on Kubernetes. It is specifically designed for serverless and microservices-based architectures.</p><p><a href="https://github.com/prometheus/prometheus">Prometheus</a>, a Cloud Native Computing Foundation project, is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts when specified conditions are observed. In this article, we will explore how you can monitor Camel-K applications on Openshift using Prometheus and visualize them using a graphical tool like Grafana.</p><p>Let us first start by creating a namespace on Openshift.</p><pre>oc new-project camel-k-monitoring</pre><p>Next, let us install the Camel K operator. Check out the <a href="https://camel.apache.org/camel-k/1.8.x/cli/cli.html">documentation</a> to learn more about how to set up the Kamel binary CLI.</p><pre>kamel install</pre><p>Starting OpenShift 4.3, the Prometheus Operator, that’s already deployed as part of the monitoring stack, can be used to monitor application services.</p><p>Let us now enable the user workload monitoring setting as below:</p><pre>oc -n openshift-monitoring create configmap cluster-monitoring-config<br>oc -n openshift-monitoring edit configmap cluster-monitoring-config</pre><p>Modify by adding the config for enabling the user workload monitoring.</p><pre>apiVersion: v1</pre><pre>kind: ConfigMap</pre><pre>metadata:</pre><pre>  name: cluster-monitoring-config</pre><pre>  namespace: openshift-monitoring</pre><pre>data:</pre><pre>  config.yaml: |</pre><pre>    enableUserWorkload: true</pre><p><strong>Enabling the Prometheus Monitoring for individual integrations</strong></p><p>The <a href="https://camel.apache.org/camel-k/1.8.x/traits/prometheus.html">Prometheus</a> trait automates the configuration of integration pods to expose a metrics endpoint, that can be discovered and scraped by a Prometheus server.</p><p>The Prometheus trait can be enabled when running an integration. Let us look at a simple integration.</p><pre><em>// camel-k: language=java</em></pre><pre>import org.apache.camel.builder.RouteBuilder;</pre><pre>public class Basic extends RouteBuilder {</pre><pre>  @Override</pre><pre>  public void configure() throws Exception {</pre><pre>    from(&quot;timer:java?period=1000&quot;)</pre><pre>      .setHeader(&quot;example&quot;)</pre><pre>      .constant(&quot;Java&quot;)</pre><pre>     .setBody()</pre><pre>     .simple(&quot;Hello World! Camel K route written in  ${header.example}.&quot;)</pre><pre>    .log(&quot;${body}&quot;);</pre><pre>  }</pre><pre>}</pre><p>We can enable the Prometheus trait as below,</p><pre>kamel run Basic.java --trait prometheus.enabled=true</pre><p>The Prometheus trait can be enabled using the Modeline comments as well.</p><pre><em>// camel-k: language=java trait=prometheus.enabled=true</em></pre><p>You should now start seeing Prometheus metrics show up on the Metrics view as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UyF5bKzJ2XP8Xyrc" /></figure><p><strong>Enabling Prometheus Monitoring for Kamelets</strong></p><p>Kamelets (Kamel route snippets) is a new concept introduced in Camel K that allows users to connect to external systems via a simplified interface, hiding all the low-level details about how those connections are implemented.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1/1*tak3u6HS9tIdRp9LaBNj1Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*zQu3No3jEXctRd7PHNS76Q.png" /></figure><p>You can easily tune your KameletBinding with traits configuration by adding .metadata.annotations.</p><pre>metadata:</pre><pre> annotations:</pre><pre>   trait.camel.apache.org/prometheus.enabled: &quot;true&quot;</pre><p><strong>Enabling the Prometheus Monitoring globally</strong></p><p>The Prometheus trait can be enabled globally once, by updating the integration platform.</p><p>This can be done by running the following command</p><pre>oc patch ip camel-k — type=merge -p &#39;{&quot;spec&quot;:{&quot;traits&quot;:{&quot;prometheus&quot;:{&quot;configuration&quot;:{&quot;enabled&quot;:true}}}}}&#39;</pre><p>This can also be enabled on the integration platform YAML as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pQWsdlC-0_jGsMwR" /></figure><p><strong>Visualize metrics using Grafana</strong></p><p>Check out this <a href="https://access.redhat.com/solutions/5335491">article</a> to learn about you can configure Grafana to work off the user workload monitoring metrics.</p><p>We have set up a Grafana instance in the same namespace and added the Prometheus data source referring to the Thanos querier. Thanos querier is able to query metrics from the default Prometheus instance from openshift-monitoring as well as from the Prometheus instance of openshift-user-workload-monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NyyJbiwgT4ntN_pM" /></figure><p>We can now set up a dashboard to monitor the camel metrics that are exposed. A sample dashboard can be found <a href="https://github.com/snandakumar87/custom-dashboard-camelk">here</a>.</p><p>By enabling the monitoring across different services, we can visualize the health of the integrations effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*My2SF0hz23eU7D3C" /></figure><p>References:</p><p><a href="https://camel.apache.org/camel-k/1.8.x/observability/monitoring.html">https://camel.apache.org/camel-k/1.8.x/observability/monitoring.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef699d74afe2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Red Hat Openshift Streams for Apache Kafka — Kafka Service Fleet Manager]]></title>
            <link>https://selectfrom.dev/red-hat-openshift-streams-for-apache-kafka-kafka-service-fleet-manager-6f8aa58a7777?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f8aa58a7777</guid>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[rhosak]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Mon, 25 Apr 2022 15:51:17 GMT</pubDate>
            <atom:updated>2022-06-25T18:10:04.930Z</atom:updated>
            <content:encoded><![CDATA[<h3>Red Hat Openshift Streams for Apache Kafka — Kafka Service Fleet Manager</h3><p>OpenShift Streams for Apache Kafka is a managed cloud service for streaming data that reduces the operational cost and complexity of delivering real-time applications across hybrid-cloud environments. Different interaction models are possible to work with the underlying instances. In this article, we will explore Kafka Service Fleet Manager REST APIs used to manage Kafka instances.</p><p>It is now possible to try Kafka at no cost for 48 hours. For this head over to the <a href="https://console.redhat.com/">Red Hat Hybrid Cloud Console</a>. Open up the Stream for Apache Kafka section to create your cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wtcQOnW5TVzdCnFk" /></figure><p>Check out the documentation on how to get started <a href="https://access.redhat.com/documentation/en-us/red_hat_openshift_streams_for_apache_kafka/1/guide/aeb2d53c-870a-4418-867c-1a886e7bc1cb#_075510fb-717e-4bb7-8c7b-1414f00aab61">here</a>. For the purpose of this article, we have set up the Kafka cluster, configured Service accounts, and defined access. We have also created a topic in the cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s70RkNRAvd3Hue2O" /></figure><p>We will now explore the <a href="https://api.openshift.com/?urls.primaryName=kafka%20service%20fleet%20manager%20service&amp;extIdCarryOver=true&amp;sc_cid=701f2000001Css5AAC">REST APIs</a>. The REST API defines various endpoints for monitoring metrics, querying the underlying Cluster as well as managing security and errors.</p><p>Let us now explore how you can authorize against the REST APIs so that you can manage the underlying Kafka instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u_-PQ2WfqsRftW3j" /></figure><p>On the top right corner, you should see an Authorize button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/0*BlZs7Kepr-4zfE0P" /></figure><p>We need a valid token so that we can have the right permissions to view our instance.</p><p>For this, we will first create an offline token <a href="https://console.redhat.com/openshift/token">here</a>.</p><p>Click on the Load Token button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9tTUCYz-S7aoMnfY" /></figure><p>You now have an offline token ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-AKhhU9KZDthJu5o" /></figure><p>Next, let us use this command to get the access token that we can authorize against the REST APIs.</p><pre>curl <a href="https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token">https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token</a> -d grant_type=refresh_token -d client_id=cloud-services -d refresh_token=$offline_token</pre><p>This should give you a response payload like this:</p><pre>{</pre><pre>“access_token”: “xxxxx”,</pre><pre>“expires_in”: 900,</pre><pre>“refresh_expires_in”: 0,</pre><pre>“refresh_token”: “yyyy”,</pre><pre>“token_type”: “Bearer”,</pre><pre>“id_token”: “zzzz”,</pre><pre>“not-before-policy”: 0,</pre><pre>“session_state”: “81ac0c64-b2e9–4c27-aa16–732af1def112”,</pre><pre>“scope”: “openid offline_access”</pre><pre>}</pre><p>We will use the access token to authorize.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/0*UpSKn71JPW7GsG_j" /></figure><p>Now we can access the APIs to get information about the metrics, security, errors etc.,</p><p>Let us now get the metrics for the Kafka instance using its ID. For this head back over to the Cloud console and look up the ID for the instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kW6sXE1gtP_T7MiF" /></figure><p>Now we will use that ID and query metrics as below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZeuFdrR3Yqh8Cd9H" /></figure><p>References:</p><p><a href="https://access.redhat.com/documentation/en-us/red_hat_openshift_streams_for_apache_kafka/1">Product Documentation for Red Hat OpenShift Streams for Apache Kafka 1 | Red Hat Customer Portal</a></p><p>And with that, you’ve crossed another level to becoming a boss coder. GG! 👏</p><p>I hope you found this article instructional and informative. If you have any feedback or queries, please let me know in the comments below. And follow <a href="https://selectfrom.dev/">SelectFrom</a> for more tutorials and guides on topics like <a href="https://selectfrom.dev/tagged/big-data">Big Data</a>, <a href="https://selectfrom.dev/tagged/spark">Spark</a>, and <a href="https://selectfrom.dev/tagged/data-warehouse">data warehousing</a>.</p><p><strong>The world’s fastest cloud data warehouse:</strong></p><p>When designing analytics experiences which are consumed by customers in production, even the smallest delays in query response times become critical. Learn how to achieve <strong>sub-second</strong> performance over TBs of data with <a href="https://www.firebolt.io/?v=m"><strong>Firebolt</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f8aa58a7777" width="1" height="1" alt=""><hr><p><a href="https://selectfrom.dev/red-hat-openshift-streams-for-apache-kafka-kafka-service-fleet-manager-6f8aa58a7777">Red Hat Openshift Streams for Apache Kafka — Kafka Service Fleet Manager</a> was originally published in <a href="https://selectfrom.dev/">SelectFrom</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Error Handling in Kamelet Binding — By Example]]></title>
            <link>https://snandaku.medium.com/error-handling-in-kamelet-binding-by-example-4e42192697c?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e42192697c</guid>
            <category><![CDATA[hawtio]]></category>
            <category><![CDATA[openshift]]></category>
            <category><![CDATA[apache-camel]]></category>
            <category><![CDATA[amq]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Tue, 22 Feb 2022 03:49:40 GMT</pubDate>
            <atom:updated>2022-02-22T13:31:10.787Z</atom:updated>
            <content:encoded><![CDATA[<h3>Error Handling in Kamelet Binding — By Example</h3><p>In an earlier article, we had discussed, how Kamelet allows users to connect to external systems via a simplified interface, hiding all the low-level details about how those connections are implemented. We had also explored, how by enabling the Jolokia trait on the Kamelet binding, we can register the integration with the fuse console for monitoring.</p><p>In this article, we will explore the error handling options available for the Kamelet binding.</p><p>Let us assume we have a simple integration, that reads from an AMQ broker queue, and invokes a REST endpoint.</p><p>For this, we will set up the AMQ Broker, Camel-K, and the Fuse Console on openshift, check out the post to <a href="https://snandaku.medium.com/monitoring-camel-k-applications-on-openshift-using-the-fuse-console-part-2-kamelets-39bde66f7a7f">learn more</a> about how to install these operators on openshift.</p><p>The integration would <a href="https://github.com/snandakumar87/kamelet-error-handling/blob/main/kamelet-error-handling-without-error-handling.yaml">look like this</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/0*OHJ52ySlqsf9XzJZ" /></figure><p>We have used the AMQ Source and HTTP Sink Kamelet definitions to define this integration. Notice how we are using a dummy URL in the sink section to simulate the error condition.</p><p>There are different types of error handlers including none, log, and sink. There may be situations where we might just need to ignore the failure, for such cases we can use the <a href="https://camel.apache.org/camel-k/1.8.x/kamelets/kameletbindings-error-handler.html#kameletbindings-error-handler-none">None error handler</a>.</p><p>Apache camel provides a default behavior of log to standard output for error handling. We can however specify redelivery or delay policy using the<a href="https://camel.apache.org/camel-k/1.8.x/kamelets/kameletbindings-error-handler.html#kameletbindings-error-handler-log"> log error handler</a>.</p><p>Let us add a simple error handler to set up a retry and delay as defined <a href="https://github.com/snandakumar87/kamelet-error-handling/blob/main/kamelet-error-handling-log.yaml">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*fM8luHvb2ZBTawqb" /></figure><p>We will now deploy the YAML definition.</p><p>Let us send a message to the queue “sourcequeue”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-iNw5OZPMkrEd2Pm" /></figure><p>We can now see that since the HTTP sink URL is unreachable, the error is logged on the standard out. We can see from the log message that, retry attempts were performed as defined in the error handler definition on the kamelet binding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YfUocrx5XEbX5_Ph" /></figure><p>Let&#39;s say we need more sophisticated error handling, where we would like to redirect the failed messages to a different component. This is when a <a href="https://camel.apache.org/camel-k/1.8.x/kamelets/kameletbindings-error-handler.html#kameletbindings-error-handler-sink">sink handler</a> comes in handy.</p><p>In our example, we will redirect the messages on error to another AMQ topic called “errorqueue”</p><p>Let us now modify the <a href="https://github.com/snandakumar87/kamelet-error-handling/blob/main/kamelet-error-handling-sink.yaml">integration</a> to add the error handler sink definition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*SCdqlAKYRhcAaXG7" /></figure><p>Let us apply this YAML definition, and add a message to the “sourcequeue”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2J-0j9XWhWV5gaGy" /></figure><p>You should now see the message being pushed to the “errorqueue” on error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pXz0DM5SbiX8lL5c" /></figure><p>The Fuse Console also shows the error handler definition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T8v7Cjp4i8UPumQn" /></figure><p>References:</p><p><a href="https://camel.apache.org/camel-k/1.8.x/kamelets/kameletbindings-error-handler.html#kameletbindings-error-handler-types">https://camel.apache.org/camel-k/1.8.x/kamelets/kameletbindings-error-handler.html#kameletbindings-error-handler-types</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e42192697c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring Camel-K applications on Openshift using the Fuse Console — Part 2 (Kamelets)]]></title>
            <link>https://snandaku.medium.com/monitoring-camel-k-applications-on-openshift-using-the-fuse-console-part-2-kamelets-39bde66f7a7f?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/39bde66f7a7f</guid>
            <category><![CDATA[openshift]]></category>
            <category><![CDATA[hawtio]]></category>
            <category><![CDATA[apache-camel]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Tue, 01 Feb 2022 16:30:25 GMT</pubDate>
            <atom:updated>2022-02-01T17:03:17.632Z</atom:updated>
            <content:encoded><![CDATA[<h3>Monitoring Camel-K applications on Openshift using the Fuse Console — Part 2 (Kamelets)</h3><p>In an earlier <a href="https://snandaku.medium.com/monitoring-camel-k-applications-on-openshift-using-the-fuse-console-e5d0a8225d61">article</a>, we discussed how we can add the Jolokia trait to monitor Camel-K integrations. In this article, we will see how this can be done for Kamelets.</p><p>Kamelets (Kamel route snippets) is a new concept introduced in Camel K that allows users to connect to external systems via a simplified interface, hiding all the low-level details about how those connections are implemented. There is a community-driven catalog of reusable Kamelets (Camel route snippets, i.e. connectors) that can be used to stream data from/to external systems into any platform powered by Apache Camel. The catalog definition can be found <a href="https://camel.apache.org/blog/2021/02/Kamelet-Catalog/">here</a>.</p><p>Let us assume, that we have an integration to read a message from an AMQ broker and push it to a Kafka topic. We can very easily reuse the kamelet definitions from the catalog and create this integration.</p><p>Each Kamelet is basically a route template with configuration properties. You need to know which component you want to get data from (a source) and which component you want to send data to (a sink). You connect the source and sink components by adding kamelets in a Kamelet binding as illustrated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/0*wXOwre2R6VwTqDTP" /></figure><p>As a prerequisite, we will set up an <a href="https://github.com/snandakumar87/omni-channel-process/blob/main/amqbroker.yaml">AMQ Broker</a> with the AMQP protocol exposed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HSh_2FJz-5YcHarv" /></figure><p>We will also <a href="https://github.com/snandakumar87/omni-channel-process/blob/main/amqaddress.yaml">set up</a> a queue named myqueue. We will also set up a <a href="https://github.com/snandakumar87/omni-channel-process/blob/main/kafkadefn.yaml">Kafka broker</a> and create a topic called <a href="https://github.com/snandakumar87/omni-channel-process/blob/main/processtopic.yaml">process-topic</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*icKT51WeLnhWDRMw" /></figure><p>We will also install the Red Hat Fuse console so that we can monitor the integration. Check out my <a href="https://snandaku.medium.com/monitoring-camel-k-applications-on-openshift-using-the-fuse-console-e5d0a8225d61">previous post</a> on instructions to set up the console using operators.</p><p>Let us now define the binding for the AMQ source. For this, we will use the <a href="https://camel.apache.org/camel-kamelets/0.6.x/jms-amqp-10-source.html">AMQP Source Kamelet</a> and the <a href="https://camel.apache.org/camel-kamelets/0.6.x/kafka-not-secured-sink.html">Kafka Sink Kamelet</a>. The Kamelet binding for this integration would look like <a href="https://github.com/snandakumar87/kamelet-monitoring/blob/main/amqp-to-kafka-without-jolokia.yaml">this</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/0*7GddshSF7txvUhRt" /></figure><p>We will now need to add the Jolokia trait to the Kamelet binding. The Jolokia trait activates and configures the Jolokia Java agent. By enabling this trait, we can register the integration with the fuse console. You can easily tune your KameletBinding with traits configuration adding .metadata.annotations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/0*q9KGuhBUXM-V3VAh" /></figure><p>Let us install the Kamelet binding on the namespace.</p><pre>kamel install</pre><pre>oc create -f amqp-to-kafka.yaml</pre><p>Once the integration is built and deployed, you should see it appear on the Fuse Console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BHVh4a23ggqx6okj" /></figure><p>We can now push a message from the AMQ broker and monitor the routes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*r8C_NGHj8_fhJW6cqYpQVQ.png" /></figure><p>Notice how the source, sink, and route1 definitions show up on the left palette. The route definition for route1 is fairly simple with a source and destination.</p><p>Let us now explore the source route.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*q8g4RtUdg1aA3IKoXVsp0g.png" /></figure><p>You can see the route definition of the Kamelet along with the exchanges completed. A quick look at the sink route.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/0*Qjemlu64DLwVQUdp" /></figure><p>Notice how the Kamelet definition hides a lot of complexities and exposes a clean interface to use, and the fuse console still provides an easy way to monitor these.</p><p><strong>References</strong>:</p><p><a href="https://camel.apache.org/camel-k/1.8.x/kamelets/kamelets-user.html">Kamelets Documentation</a></p><p><a href="https://github.com/snandakumar87/kamelet-monitoring">https://github.com/snandakumar87/kamelet-monitoring</a></p><p><a href="https://snandaku.medium.com/monitoring-camel-k-applications-on-openshift-using-the-fuse-console-e5d0a8225d61">Monitoring Camel-K applications on Openshift using the Fuse Console</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39bde66f7a7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring Camel-K applications on Openshift using the Fuse Console]]></title>
            <link>https://snandaku.medium.com/monitoring-camel-k-applications-on-openshift-using-the-fuse-console-e5d0a8225d61?source=rss-7c7b562c053c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5d0a8225d61</guid>
            <category><![CDATA[hawtio]]></category>
            <category><![CDATA[apache-camel]]></category>
            <category><![CDATA[openshift]]></category>
            <dc:creator><![CDATA[Sadhana Nandakumar]]></dc:creator>
            <pubDate>Thu, 16 Dec 2021 14:58:36 GMT</pubDate>
            <atom:updated>2021-12-16T14:58:36.975Z</atom:updated>
            <content:encoded><![CDATA[<p>The Red Hat Fuse Console is a web console based on HawtIO open-source software. The Fuse Console provides a central interface to examine and manage the details of one or more deployed Fuse containers. You can also monitor Red Hat Fuse and system resources, perform updates, and start or stop services.</p><p>Camel K is a lightweight integration framework built from Apache Camel to run natively on Kubernetes. It is specifically designed for serverless and microservices-based architectures. In this article, we will explore how you can monitor the integrations created using Camel-K using the Fuse Console.</p><p><strong>Installing Fuse Console on Openshift</strong></p><p>To install the Fuse Console on OpenShift 4. x, you can use the Fuse Console Operator provided in the OpenShift OperatorHub. To deploy the Fuse Console, you create an instance of the installed operator.</p><p>Let us first create a new namespace fuse-console-demo on openshift.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9VE0eviRtBpyNstJ" /></figure><p>Let us now install the Red Hat Integration — Fuse Console in this namespace.</p><p>Once installed we will create an instance of hawtio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dXAj3AXudubVF5zE" /></figure><p>The operator exposes a route for the console as below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EO-p8tEAU0Hl2pNI" /></figure><p>You should now see the Fuse console up and running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tt3ZRu7vGDHjqnfk" /></figure><p><strong>Creating a Camel K integration</strong></p><p>Let us now define a simple integration for our test.</p><pre>- from:<br>    uri: &quot;timer:tick&quot;<br>    parameters:<br>      period: &quot;5000&quot;<br>    steps:<br>      - set-body:<br>          constant: &quot;Hello Yaml !!!&quot;<br>      - transform:<br>          simple: &quot;${body.toUpperCase()}&quot;<br>      - to: &quot;log:info&quot;</pre><p>We have a simple route that prints the message in uppercase for every 60 seconds.</p><p><strong>Deploying the Camel K integration with the Jolokia Trait</strong></p><p>The Jolokia trait activates and configures the Jolokia Java agent. By enabling this trait, we can register the integration with the fuse console which we set up in step1.</p><p>For this,</p><pre>kamel install</pre><pre>kamel run YamlIntegration.yml --trait jolokia.enabled=true --trait jolokia.protocol=https</pre><p>This should deploy the integration.</p><p><strong>Monitoring Integration on Fuse Console</strong></p><p>Once the integration is running, go back to the Fuse console. You should now see the integration show up there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yd-EBXQeYtbpHQsc" /></figure><p>Click on connect to visualize the route diagram and monitoring information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HfD7P70RazGKjZma" /></figure><p>References:</p><p><a href="https://camel.apache.org/camel-k/1.7.x/traits/jolokia.html">https://camel.apache.org/camel-k/1.7.x/traits/jolokia.html</a></p><p><a href="https://access.redhat.com/documentation/en-us/red_hat_fuse/7.10/html/managing_fuse_on_openshift/fuse-console-setup-openshift4#fuse-console-install-openshift4-operatorhub">https://access.redhat.com/documentation/en-us/red_hat_fuse/7.10/html/managing_fuse_on_openshift/fuse-console-setup-openshift4#fuse-console-install-openshift4-operatorhub</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5d0a8225d61" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>