<?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 Ayodhya Manewa on Medium]]></title>
        <description><![CDATA[Stories by Ayodhya Manewa on Medium]]></description>
        <link>https://medium.com/@ayodhyamanewa.a2?source=rss-391d214ca92d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5Ml6Z6DhwO3_AvF40vTthw.jpeg</url>
            <title>Stories by Ayodhya Manewa on Medium</title>
            <link>https://medium.com/@ayodhyamanewa.a2?source=rss-391d214ca92d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 09:00:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ayodhyamanewa.a2/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[SMPP ESB Connector]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/smpp-esb-connector-e215b5e96750?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e215b5e96750</guid>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Thu, 16 May 2019 14:58:10 GMT</pubDate>
            <atom:updated>2019-05-16T14:58:10.018Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*9-26j03y3yUO_SyhxYfDCQ.gif" /></figure><p><strong>Connector ?</strong></p><p>A connector is a collection of templates that define operations users can call from their configurations to easily access specific logic for processing messages. Typically, connectors are used to wrap the API of an external service such as Twitter or Google Spreadsheet. Each connector provides operations that perform different actions in that service. WSO2 EI supports the complete list of connectors provided with WSO2 ESB. These connectors allow your message flows to connect to and interact with services .</p><p><strong>SMPP Connector ?</strong></p><p>SMPP <a href="https://docs.wso2.com/display/EI650/Working+with+Connectors">Connector</a> allows you to send SMS through the WSO2 ESB. It uses jsmpp API to communicate with a SMSC (Short Message service center) which is to store, forward, convert and deliver Short Message Service (SMS) messages. jsmpp is a java implementation of SMPP protocol. The SMPP server in SMSC have all ESME (External Short Messaging Entity) addresses which is an external application that connects to a SMSC and the active connection. When you send SMS to destination, it comes to the SMSC, then one of the module in SMSC checks the destination address whether it is available or not. If it is available it create connection object that is responsible for sending SMS message.</p><p>To learn how to work with a WSO2 ESB Connector visit my blog :- “How to use Slack Web API Connector through WSO2 Enterprise Integrator”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e215b5e96750" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/introduction-a9f97115f94?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9f97115f94</guid>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Thu, 16 May 2019 14:14:35 GMT</pubDate>
            <atom:updated>2019-05-16T14:19:22.254Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Amazon DynamoDB</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4MiHNq5KO-AmgV7uC5gXOQ.png" /></figure><p>Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It’s a fully managed, multiregion, multimaster database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB can handle more than 10 trillion requests per day and support peaks of more than 20 million requests per second. Also Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. You can use Amazon DynamoDB to create a database table that can store and retrieve any amount of data, and serve any level of request traffic. Amazon DynamoDB automatically spreads the data and traffic for the table over a sufficient number of servers to handle the request capacity specified by the customer and the amount of data stored, while maintaining consistent and fast performance.</p><h3>Benefits</h3><ul><li>DynamoDB supports some of the world’s largest scale applications by providing consistent, single-digit millisecond response times at any scale. You can build applications with virtually unlimited throughput and storage. DynamoDB global tables replicate your data across multiple AWS Regions to give you fast, local access to data for your globally distributed applications. For use cases that require even faster access with microsecond latency, DynamoDB Accelerator (DAX) provides a fully managed in-memory cache.</li><li>With DynamoDB, there are no servers to provision, patch, or manage and no software to install, maintain, or operate. DynamoDB automatically scales tables up and down to adjust for capacity and maintain performance. Availability and fault tolerance are built in, eliminating the need to architect your applications for these capabilities. DynamoDB provides both on-demand and provisioned capacity modes so that you can optimize costs by specifying capacity per workload, or paying for only the resources you consume.</li><li>DynamoDB supports ACID transactions to enable you to build business-critical applications at scale. DynamoDB encrypts all data by default and provides fine-grained identity and access control on all your tables. You can create full backups of hundreds of terabytes of data instantly with no performance impact to your tables, and recover to any point in time in the preceding 35 days with no downtime. DynamoDB is also backed by a service level agreement for guaranteed availability.</li></ul><h3><strong>Amazon DynamoDB ESB Connector</strong></h3><p>To work with this connector first you must get an AWS access key ID and secret access key. To authenticate, it uses the Signature Version 4 signing specification, which describes how to construct signed requests to AWS. Whenever you send a request to AWS, you must include authorization information with your request so that AWS can verify the authenticity of the request.<br>AWS uses the authorization information from your request to recreate your signature and then compares that signature with the one that you sent. These two signatures must match for you to successfully access AWS.</p><p>Once you do the initial configurations you can work with the Items and Tables in the Amazon DynamoDB.</p><p>To learn how to work with a WSO2 ESB Connector visit my blog :- “How to use Slack Web API Connector through WSO2 Enterprise Integrator”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9f97115f94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you a Twitter user?]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/are-you-a-twitter-user-c1e5b01bb937?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1e5b01bb937</guid>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Thu, 16 May 2019 07:18:50 GMT</pubDate>
            <atom:updated>2019-05-16T07:18:50.575Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ikkG6am8ENxB_g3kSo6xaw.jpeg" /></figure><h3><em>What is this Twitter ?</em></h3><p>Twitter is an online news and social networking site where people communicate in short messages called tweets. Tweeting is posting short messages for anyone who follows you on Twitter, with the hope that your messages are useful and interesting to someone in your audience.</p><h3><strong>How if there is a WSO2 ESB Connector to work with Twitter ?</strong></h3><p>The Twitter connector allows you to access the Twitter REST API through WSO2 ESB where Twitter is an online social networking and micro-blogging service that allows users to get and create tweets, retrieve followers, and more.</p><h3><strong>How to use the WSO2 ESB Twitter Connector ?</strong></h3><p>First you need to have a Twitter Account from where you should have Consumer key, Consumer Secret, Access Token and Access Token Secret that is generated by registering your application at <a href="https://dev.twitter.com/apps">https://dev.twitter.com/apps</a>. You will be connected to Twitter to perform various operations as you are authenticated using the above keys with the access level as Read, Write and Direct messages.</p><h3><strong>What are the operations you can perform with the Twitter connector ?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*H-8AECmnACxqNTwWWzMpBg.png" /></figure><ul><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Accounts+in+Twitter">Working with Accounts in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Blocking+in+Twitter">Working with Blocking in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Direct+Messages+in+Twitter">Working with Direct Messages in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Favorites+in+Twitter">Working with Favorites in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Friends+and+Followers+in+Twitter">Working with Friends and Followers in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Help+in+Twitter">Working with Help in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Lists+in+Twitter">Working with Lists in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Search+in+Twitter">Working with Search in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Statuses+in+Twitter">Working with Statuses in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Trends+in+Twitter">Working with Trends in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Tweets+in+Twitter">Working with Tweets in Twitter</a></li><li><a href="https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Users+in+Twitter">Working with Users in Twitter</a></li></ul><p>Hope it helped !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1e5b01bb937" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[……………..Unity is strength………………..]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/unity-is-strength-67d3fadfe8f?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/67d3fadfe8f</guid>
            <category><![CDATA[intenship]]></category>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Wed, 15 May 2019 08:57:15 GMT</pubDate>
            <atom:updated>2019-05-15T09:42:13.864Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*1Z6tda39KTAe8s7J1Hu6lw.jpeg" /></figure><p>I was born as a twin girl and grew together like a double cherry, seeming parted, but yet a union in partition, two lovely berries moulded in one stem<strong>.</strong> What these two berries frequently proved to the family was that it takes two flints to make a fire ;). Our mother used to say we were the same soul split in two and walking around on four legs. Though we couldn’t realize what she was telling we were confident since we knew that there’s two who argue, two who cry; two to kiss, two to hug; and best of all, there’s two to love!. If there’s anyone else in the world that’s going to get or be the confidant that I need, it was her and vice versa.</p><p>Time passed, we grew older both physically and spiritually together. But, there was a day where we both had to separate as we got selected to two universities.</p><p>Leaving things behind and starting again is a way of coping with difficulties. I learnt very early in my life that how to leave something and remain myself only. I started telling my mind not to cry because it’s over and smile because it happened. I had to adjust to be alone and work with my university peers. It also was an amazing experience where I could be with different people gaining different life lessons.</p><p>Most of the time, teamwork is harder than we think it’s gonna be. We may find a lot of people working together, the bigger the group, the slower we tend to get, the harder it is to communicate. But we work together because we can do more together. And we need each other. When we’re open to learn from others, we benefit from their experience as well as our own and we can inherit their wisdom and knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*byvZ4WXbRjh7GmZh7WPADA.jpeg" /></figure><p><strong>How you feel if you find your university besties in your work place too ; )</strong></p><p><em>“Having a support team of trusted people allows us to get the correct direction we need.”</em></p><p>Ten of my university guys came to work with me in my internship. We all were given separate and individual projects . It was kind of taking a risk and do something out of our comfort zone. But it was a pretty chance and we all got started with small steps and built from there. Since we all were working around different areas we could engage in multiple levels of learning. I mean in my first project I was given a project related to SP while some of others were given EI projects. But when we were gathering together we used to discuss the kind of issues that we face that directed us to get the solutions from others. Because we learn from what we hear, how we see, the way we discuss, and where we experience our lives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z_6rqYLGh6ovIp6IiBVWRA.jpeg" /></figure><p><em>“Every successful individual knows that his or her achievement depends on a community of persons working together.”</em></p><p>According to Don King, <strong>“</strong>My career is one of people involvement. I’m a promoter of the people, by the people, for the people. My magic lies, my people ties, this is what I want to do. I’m in it to win, I cant give in, I can’t give up and I cant quit. Victory is mine. Working together works<strong>.”</strong></p><p><strong>Working together works ?</strong></p><p>How can I forget the key peers who were strong with supportive hands.<br>As I grew older, I could discover that we have two hands, one for helping us, the other for helping others. <strong>Bhathiya</strong> may also a kind of person who has clearly understood it. He was such a supportive man that I met during my internship journey. Perhaps he may also had to undergo certain difficulties in solving such issues that we discuss with him. But, in any time he didn’t hesitate to utter what he knows or something that we should discover further. No one has ever become poor by giving and may he may also could enrich his wider capacity of knowledge as far as he helped us explaining the stuff we entreat. In pertaining to what I ponder no exercise is better for his heart than lifting people up like such. <strong>Dhanushka </strong>was also a strong supportive man that I should specially mention. He was also setting his heart on doing good. At the same time I should appreciate <strong>Ajay, Mayurawani,Niru,Shevi,Sara,Lawshi and Malki</strong> who also played beautiful roles in my internship journey who worked by sharing, giving helping hands and improving their knowledge. Mean while developing technical skills we could develop several social skills that revealed us about happiness as a by-product of an effort to make someone else happy. We all tried to help others as far as we can by consulting their weaknesses, relieve their maladies; strive to raise them up, and by so doing we could also effectually raise ourselves up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eXTX8WjNlKRsHtrcJNcCUw.jpeg" /></figure><p>Overall, where there is unity there is always victory. Unity is a famous ingredient for every successful recipe. Be it strengthening family bonds, or experiencing mere miracles of friendship, unity plays an important role in achieving everything that is positive. The interesting thing about it is that it manifests in several ways. Sometimes unity means pulling yourself together when life seems a big debacle, sometimes it is taking one for the team, sometimes it is a slow, patient move towards familial bonds, or sometimes it is sticking it out through the thick and thin with our friends.</p><p>Hope you enjoyed our unity :)</p><p>-Ayodhya Manewa-</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67d3fadfe8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intern Life at WSO2]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/intern-life-at-wso2-1160366ba02f?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1160366ba02f</guid>
            <category><![CDATA[internships]]></category>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Wed, 24 Apr 2019 04:02:10 GMT</pubDate>
            <atom:updated>2019-05-15T06:21:43.611Z</atom:updated>
            <content:encoded><![CDATA[<h3>Intern-Life at WSO2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uzhw7LwJAR44lbH4JsbX4A.jpeg" /></figure><p>I just heard about an internship when I was a first year student who was sitting at the first orientation session of my university. But I didn’t know what exactly an internship does since I hadn’t done any internships till then. Two years flew and I stepped in to my third year and was looking forward for the special selected list with a pretty hope and a big aim to do my further studies in Computer Science. Yes, I was there in the list; the day I felt that the nature can cause opportunity to find us and shifts things in our favor.<br>Then I started to dream to be a part of the WSO2 team as an intern. Every moment is an organizing opportunity, every person a potential activist, every minute a chance to change the world. Well, I got selected to WSO2 ;the dream I had. Then I stared to walk in a space of gratitude. I’m so grateful to nature for blessing me with an amazing family;WSO2 and the opportunity to do what I love.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hbM8f9K7j6kMZBaCxzCcNA.png" /></figure><p>WSO2 provides equal employment opportunities to all employees and<br>applicants for employment without regard to race, color, religion, gender, sexual orientation, national origin, age, disability,marital status, or status as a covered veteran in accordance with applicable federal, state, and local laws.</p><h3><strong>Two Weeks Orientation</strong></h3><p><em>“Interning during orientation has completely opened my eyes to how empowering, enlightening, and encouraging internships can be.”</em></p><p>A major reason that we as interns feel so comfortable with each other is because of the orientation experience, and the smooth transition we had moving towards more notable projects. During those two weeks, we learned about the different phases of the internship programs and were talking about what goals we had for our internship, and what kind of experience we get after. What I wasn’t expecting was how much confidence it gave me moving forward in my internship journey.</p><h3>Working Time</h3><p><em>“I gained a new sense of professionalism and a clearer view of what it meant to be in the professional world. I would advise everyone to take the opportunity and do an internship at WSO2.”</em></p><p>I was assigned to the engineering team and was given product based projects related to WSO2 Stream processor , Enterprise Integrator that prioritized computer science and programming that could open many lucrative doors. I could learn and find many attractive computational theories. Yes, now I feel how the graduate degrees strengthen students’ skills by increasing their value to employers. Since the field is rapidly advancing, I also had to face and solve certain issues to get my coming step.The WSO2 Internship Program gave us the opportunity to be an active member of the team that I worked with and build a successful career. In addition of learning new technical as well as social skills, we had the same opportunity as any WSO2 employee to contribute to live projects!. We had the opportunity to write code, contribute to ongoing projects, and actively participate in all activities, both work and fun.</p><p><em>“Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don’t quit.”</em></p><h3><strong>Gains</strong></h3><p>From the real sense of the word WSO2 is like a university that enriches an intern by both the conceptual and practical aspects. Mentoring by industrial experts and the way how they show the areas that we should develop is pretty appreciable.</p><ul><li>Opportunity to develop technical skills and contribute to live projects</li><li>Opportunity to develop social skills and build our personal brand</li><li>Ability to build and expand our network</li><li>Good communication skill</li><li>Learning how to work in stress</li><li>Learning from others</li><li>Work hard with smart work</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*KboF0KQbsIN54sBvchHvaA.jpeg" /></figure><p><strong><em>Here,what I should deeply mention is about my mentor. Yes, sometimes it can be difficult to find the right words to say to someone who means so much to you. My mentor; Biruntha Gnaneswaran or simply Biruntha akka is a wonderful mentor, guider and a friend. She groomed me to be a sound professional and working with her was an interesting and a memorable experience. I will always be grateful to you for your support and kindness. It would be impossible to count all the ways that you’ve helped me in my internship.You are everything shows me how good you are as a mentor. Thank you so much for all that you’ve done — I only hope I can return the favor sometime in the future. You inspire, thank you for providing me such a strong foundation in an industry that will remain forever grateful.</em></strong></p><p>Overall, I am happy for having done this internship. Not only I did enjoy my work but also got the exposure that our education system doesn’t usually provide. For me, this internship wasn’t for mere online visibility or certification but for my development, both like a professional developer, explorer and a writer as well . This internship is useful since it direct a way that help us decide our career. For anyone who’s wondering whether to pursue one or not, just go ahead and do it. Pick one, try it out, and give it your best while you’re at it. If you don’t like it, then that’s good too. Now you know what you don’t want to do.</p><p>Well, It was a pleasure to work at WSO2 because I was able to learn so much.I purposely appreciate the time I spent teaching me new skills and useful industry programs. I feel I am ready for the next steps that will bring me closer to my goals, thanks to your guidance WSO2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*F-jVermpPD28L69FpyMkCA.jpeg" /></figure><p>Ayodhya Manewa :-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1160366ba02f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is this KAFKA?]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/what-is-this-kafka-7429c474faa0?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7429c474faa0</guid>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Wed, 17 Apr 2019 07:28:00 GMT</pubDate>
            <atom:updated>2019-04-18T05:02:32.613Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*8GbrXbHdH5uPGMb5epWhrg.png" /></figure><p><strong><em>Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system. Kafka maintains feeds of messages in topics. Producers write data to topics and consumers read from topics.</em></strong></p><h3><strong>What are the key capabilities of Kafka streaming platform ?</strong></h3><ul><li>Publish and subscribe to streams of records, similar to a message queue or enterprise messaging system.</li><li>Store streams of records in a fault-tolerant durable way.</li><li>Process streams of records as they occur.</li></ul><h3><strong>What the the major broad classes of applications where Kafka is generally used for ?</strong></h3><ul><li>Building real-time streaming data pipelines that reliably get data between systems or applications</li><li>Building real-time streaming applications that transform or react to the streams of data</li></ul><h3><strong>What are the core APIs of Kafka ?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kQXkMQTrMrG4VJ3KZehaqA.png" /></figure><ul><li>The <a href="http://kafka.apache.org/documentation.html#producerapi">Producer API</a> allows an application to publish a stream of records to one or more Kafka topics.</li><li>The <a href="http://kafka.apache.org/documentation.html#consumerapi">Consumer API</a> allows an application to subscribe to one or more topics and process the stream of records produced to them.</li><li>The <a href="http://kafka.apache.org/documentation/streams">Streams API</a> allows an application to act as a <em>stream processor</em>, consuming an input stream from one or more topics and producing an output stream to one or more output topics, effectively transforming the input streams to output streams.</li><li>The <a href="http://kafka.apache.org/documentation.html#connect">Connector API</a> allows building and running reusable producers or consumers that connect Kafka topics to existing applications or data systems. For example, a connector to a relational database might capture every change to a table.</li></ul><h3><strong>How if there is a connector to access Kafka producer API ?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*gCfSjmiqmxpK61ChhRpASg.jpeg" /></figure><p><strong>The Kafka connector allows you to access the Kafka Producer API through WSO2 ESB. Kafka connector acts as a message producer that facilitates publishing messages. This connector creates a connection to Kafka, and sends messages to Kafka brokers.</strong></p><h3><strong>What exactly the Kafka producers do ?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XkYGmFyGhLbPy-sXpSmNSg.jpeg" /></figure><p>Producers publish data to the topics of their choice. The producer is responsible for choosing which record to assign to which partition within the topic. This can be done in a round-robin fashion simply to balance load or it can be done according to some semantic partition function (say based on some key in the record). More on the use of partitioning in a second!</p><h3>How if there is a Inbound End-point to access Kafka consumer API ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwNST0cLR_wQiUIGjDSV0w.jpeg" /></figure><p><strong><em>The Kafka inbound endpoint acts as a message consumer. It creates a connection to zookeeper and requests messages for a topic.</em></strong></p><h3>What exactly the Kafka consumers do ?</h3><p>Consumers label themselves with a <em>consumer group</em> name, and each record published to a topic is delivered to one consumer instance within each subscribing consumer group. Consumer instances can be in separate processes or on separate machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*qz7U8mTvtFkCFr7P.png" /></figure><p>A two server Kafka cluster hosting four partitions (P0-P3) with two consumer groups. Consumer group A has two consumer instances and group B has four.</p><p>More commonly, however, we have found that topics have a small number of consumer groups, one for each “logical subscriber”. Each group is composed of many consumer instances for scalability and fault tolerance. This is nothing more than publish-subscribe semantics where the subscriber is a cluster of consumers instead of a single process.</p><p>Accordingly, Kafka is a messing service where Kafka connector allows you to access the Kafka producer API which also acts as a message producer that facilitates publishing messages. In other words Kafka connector creates a connection to Kafka and sends messages to Kafka brokers. While Kafka connector acts as a producer, Kafka Inbound Endpoint acts as a consumer that consumes data from message brokers by creating a connection to zookeeper and requests messages for a topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aS57vYgDIPwXYEx_ElCcvA.png" /></figure><p>Hope it helped :-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7429c474faa0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is this Git and why we need it?]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/what-is-this-git-and-why-we-need-it-a2a3212ca950?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2a3212ca950</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Fri, 05 Apr 2019 05:09:36 GMT</pubDate>
            <atom:updated>2019-04-18T05:09:14.104Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mtsk3fQ_BRemFidhkel3dA.png" /></figure><p><strong><em>Git is a software that is used for Version Control. It is free and open source. Version Control is the management of changes to documents, computer programs, large websites and other collection of information.</em></strong></p><pre><strong>As a developer how it helps?</strong></pre><p>Suppose that you are working on your college or university project or even any novel writing task. Haven’t you ever change a piece of a code or removed a file or at least changed a paragraph of your novel? What the hell would happens if you wanna write it back or you have removed a wrong file instead.Everyone have worked on backing up their files if they are important before you edit or keep track of all the changes earlier.</p><p>Why would you do the backups is because in case if you delete something later you can go back to that backup and see what was there.</p><p>So all the time you wont be able to take a backup’s in all the systems you have and many times there are chance that you will collaborate and work with others. Since you guys will be working simultaneously you cant wait for other to share the files for you and then you start working on that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*ZhKU9avG-1iwj928kXLpSA.png" /></figure><pre><strong>When do you get this git help while you are coding?</strong></pre><ul><li>If you accidentally delete your code, using git can help you get it back.</li><li>If you accidentally change your code and break something, git can revert it.</li><li>Git lets you share and exchange code with other developers easily.</li><li>If you want to know what recent changes you made to you code, git will show you.</li><li>Git lets you backup your code easily to a remote server.</li></ul><p>…………………………………..and more</p><pre><strong>What are most important git commands?</strong></pre><blockquote>1. Getting &amp; Creating Projects</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*_rCLuDzQkg5yPeishOBgGQ.png" /></figure><p><em>2.Basic Snapshotting</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*dYDkPKgySYYyptfOWW54mw.png" /></figure><p><em>3.Branching &amp; Merging</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*B07FzxeQk9_LxNj1F98ReQ.png" /></figure><p><em>4.Sharing &amp; Updating Projects</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*vvdn2zoIbd0B0WbatBZ7OA.png" /></figure><p><em>5.Inspection &amp; Comparison</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*pNNg6n6Y7ZDKWsp_89aKsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*Zc20opL6D2AUHG978SYXlQ.jpeg" /></figure><p>Happy coding !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2a3212ca950" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to work with a Connector through WSO2 Stream Processor.]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/how-to-work-with-a-connector-through-wso2-stream-processor-9a7611e0563a?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a7611e0563a</guid>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Thu, 04 Apr 2019 08:32:40 GMT</pubDate>
            <atom:updated>2019-04-18T05:12:12.131Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FrtSs4ikD4LnyMXqZ1kCPA.png" /></figure><p><strong><em>WSO2 Stream Processor (SP) is a lightweight and lean, streaming SQL based stream processing platform that allows you to collect events, analyze them in real-time, identify patterns, map their impacts, and communicate the results within milliseconds. WSO2 SP uses the Siddhi query language to write the processing logic for its Siddhi applications.</em></strong></p><pre>How to get started?</pre><p>First make sure you have set up the environment to work with the following,</p><ol><li>Install <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Oracle Java SE Development Kit (JDK)</a> version 1.8.</li><li><a href="https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/">Set the JAVA_HOME</a> environment variable.</li><li>Download the latest <a href="https://github.com/wso2/product-sp/releases">WSO2 Stream Processor</a>.</li><li>Extract the downloaded zip and navigate to the &lt;SP_HOME&gt;/bin directory (&lt;SP_HOME&gt; is the extracted directory).</li><li>Issue one of the following commands to start the WSO2 Stream Processor Studio.</li></ol><ul><li>For Windows: editor.bat</li><li>For Linux: ./editor.sh</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KVFPYofcxavztJSd" /></figure><pre>What is next?</pre><ol><li>Create a Siddhi application.</li></ol><p>For ex :</p><pre>@App:<strong>name</strong>(&quot;CargoWeightApp&quot;)</pre><pre>define stream CargoStream (weight <strong>int</strong>);</pre><pre>@sink(type=&#39;log&#39;, prefix=&#39;LOGGER&#39;)</pre><pre>define stream OutputStream(weight <strong>int</strong>, totalWeight long);</pre><pre>@info(<strong>name</strong>=&#39;CargoWeightQuery&#39;)</pre><pre><strong>from</strong> CargoStream</pre><pre><strong>select</strong> weight, sum(weight) <strong>as</strong> totalWeight</pre><pre><strong>insert</strong> <strong>into</strong> OutputStream;</pre><p>2.To save the Siddhi file, click <strong>File</strong> =&gt; <strong>Save.</strong></p><p>3.To start the CargoWeightApp Siddhi application, click the play button.</p><p>4.Click the gear icon on Stream Processor Studio to open the event simulation panel.</p><p>5.Enter the values for the CargoStream</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/0*E5PHmIxEw6Wwip-q" /></figure><p>6.Now observe the results that are logged in the CLI</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*0DytsFLDpxklYzkWoFuGaA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a7611e0563a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are these Mediators?]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/what-are-these-mediators-520258cabb72?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/520258cabb72</guid>
            <category><![CDATA[wso2]]></category>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Thu, 04 Apr 2019 06:39:49 GMT</pubDate>
            <atom:updated>2019-04-05T05:28:05.188Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*m5p-uJ8qQ5mhqIJcC5Z35Q.png" /></figure><p><strong><em>A mediator is a full-powered processing unit in the ESB. At run-time, a mediator has access to all the parts of the ESB along with the current message and can do virtually anything with the message.</em></strong></p><pre>What are the mediator types?</pre><ul><li><strong>Content-aware mediators</strong></li></ul><p>These mediators always access the message content when mediating messages</p><ul><li><strong>Content-unaware mediators</strong></li></ul><p>These mediators never access the message content when mediating messages</p><ul><li><strong>Conditionally content-aware mediators</strong></li></ul><p>These mediators could be either content-aware or content-unaware depending on their exact instance configuration</p><pre>What are most frequently used mediators?</pre><ol><li><strong>Sequence Mediator</strong> -Inserts a reference to a sequence.</li><li><strong>Call Mediator</strong>-Invoke a service in a synchronous manner.It is used to send messages out of the ESB to an endpoint. You can invoke services either in blocking or non-blocking manner. When you invoke a service in non-blocking mode, the underlying worker thread returns without waiting for the response. In blocking mode, the underlying worker thread gets blocked and waits for the response after sending the request to the endpoint</li><li><strong>PayloadFactory Mediator</strong>-Transforms or replaces message content in between the client and the backend server. Each argument in the mediator configuration can be a static value, or you can specify an XPath or JSON expression to get the value at runtime by evaluating the provided expression against the existing SOAP message. You can configure the format of the request or response and map it to the arguments provided.</li><li><strong>Script Mediator</strong>-Executes a mediator written in Scripting language.</li><li><strong>Callout Mediator</strong>-Blocks web services calls. As the Callout mediator performs a blocking call, it cannot use the default non-blocking HTTP/S transports based on Java NIO.</li><li><strong>Filter Mediator</strong>-Filters a message using XPath, if-else kind of logic. If the test succeeds, the Filter mediator executes the other mediators enclosed in the sequence. The Filter Mediator closely resembles the “If-else” control structure.</li><li><strong>Log Mediator-</strong>Logs a message.</li><li><strong>Event Mediator-</strong>Sends event notifications to an event source, publishes messages to predefined topics. It redirects incoming events to the specified event topic.</li></ol><pre>Note : When adding a mediator to a sequence, you can configure the mediator in design view or in source view. Usually, a mediator is configured using XML. Source view provides the XML representation of the configurations done in the UI. When you edit the source XML all changes immediately reflect in the design view as well.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*IPdLicZ3BuGv-JZ1ATlQvw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=520258cabb72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use Slack Web API Connector through WSO2 Enterprise Integrator]]></title>
            <link>https://medium.com/@ayodhyamanewa.a2/how-to-use-slack-web-api-connector-through-wso2-enterprise-integrator-fd21cfbf0756?source=rss-391d214ca92d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd21cfbf0756</guid>
            <category><![CDATA[wso2]]></category>
            <dc:creator><![CDATA[Ayodhya Manewa]]></dc:creator>
            <pubDate>Wed, 03 Apr 2019 10:29:02 GMT</pubDate>
            <atom:updated>2019-04-18T05:17:47.596Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cSdPR7dfVTH7u4PAF7qc8w.png" /></figure><p>WSO2 Enterprise Integrator (WSO2 EI) is a comprehensive integration solution that enables communication among various, disparate applications. Instead of having your applications communicate directly with each other in all their various formats, each application simply communicates with WSO2 EI, which acts mainly as an ESB to handle transforming and routing the messages to their appropriate destinations. The WSO2 EI product can be used to manage short-running, stateless integration flows.</p><pre>How to get started ?</pre><p>First make sure you have set up the environment to work with the following</p><p>-Oracle JDK 1.8</p><p>-WSO2 Enterprise Integrator</p><p>-Slack workspace account</p><ul><li>Slack authentication token</li></ul><pre>How to set up a Slack workspace account and receive a token?</pre><ul><li>Create a Slack workspace account by visiting to <a href="https://slack.com/create#email">https://slack.com/create#email</a></li><li><a href="https://api.slack.com/apps">Register your application</a> with Slack workspace to obtain credentials to use with <a href="https://api.slack.com/docs/oauth">OAuth 2.0</a> implementation, which allows you to negotiate a token on behalf of users and workspaces</li><li>Make sure you provide specific <a href="https://api.slack.com/scopes">permission scopes</a> before you are rewarded with a token upon your approval.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*UPSShZgNMEDvokhA.jpg" /></figure><pre>How to set up WSO2 Enterprise Integrator?</pre><ul><li>Download the latest version of WSO2 Enterprise Integrator from <a href="https://wso2.com/integration/">https://wso2.com/integration/</a> and extract the zip.</li><li>Open a terminal and navigate to the &lt;EI_HOME&gt;/bin directory.</li><li>Execute one of the following scripts to start the <strong>ESB</strong> profile of WSO2 EI as for Windows : integrator.bat — run and for Linux/Mac: ./integrator.sh</li><li>In your Web browser, navigate to the ESB profile’s management console using the following URL: <a href="https://localhost:9443/carbon/">https://localhost:9443/carbon/</a></li><li>Log into the management console from Username=”admin” and Password=”admin” as the credentials.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/0*TdcimIc4snrnDwxJ" /></figure><pre>How to work with Slack Web API connector?</pre><ul><li>Download the connector from the WSO2 Store.</li><li>Then you can follow this <a href="https://docs.wso2.com/display/EI640/Working+with+Connectors+via+the+Management+Console">Documentation</a> to add and enable the connector via the Management Console in your EI instance.</li><li>Write proxy service using the custom proxy and save it.</li><li>Here, createChannel is the operation called to create a channel in a Slack workspace.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*xFcvp1-TwEwJFuDdNuzgkQ.png" /></figure><ul><li>Now obtain the endpoint of that proxy service.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nweTyZPNSgiBpujreydaMw.png" /></figure><ul><li>Then make a request to the above end point using Curl or Postman and get the response.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4tWOEXPLFNHO7TvQ59n_9w.png" /></figure><p>Hope it helped………!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd21cfbf0756" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>