<?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 Nathanyel Sandi on Medium]]></title>
        <description><![CDATA[Stories by Nathanyel Sandi on Medium]]></description>
        <link>https://medium.com/@nathan.sandi?source=rss-fbb7151d5bab------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*l5QrZ65la9xAQv3Yz38u_A.jpeg</url>
            <title>Stories by Nathanyel Sandi on Medium</title>
            <link>https://medium.com/@nathan.sandi?source=rss-fbb7151d5bab------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:23:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nathan.sandi/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[The Truth Behind the Five Stars: Fake Glassdoor Reviews and the Layoff Smokescreen]]></title>
            <link>https://medium.com/@nathan.sandi/the-truth-behind-the-five-stars-fake-glassdoor-reviews-and-the-layoff-smokescreen-80e2345fffb1?source=rss-fbb7151d5bab------2</link>
            <guid isPermaLink="false">https://medium.com/p/80e2345fffb1</guid>
            <category><![CDATA[glassdoor]]></category>
            <dc:creator><![CDATA[Nathanyel Sandi]]></dc:creator>
            <pubDate>Thu, 19 Jun 2025 20:12:35 GMT</pubDate>
            <atom:updated>2025-06-19T20:12:35.785Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s hyperconnected job market, platforms like Glassdoor offer a first impression that can be more powerful than any recruiter pitch or company career page. But as with any tool, its value depends on integrity — and in recent years, that integrity has come under scrutiny.</p><p>One of the most troubling trends is the surge of <strong>fake positive reviews</strong> on Glassdoor, often published by companies <strong>immediately after or during periods of layoffs</strong>. While downsizing is sometimes necessary, masking the internal damage with artificial praise crosses an ethical line — and it’s happening more often than many job seekers realize.</p><h3>The Pattern: A Sudden Spike in Praise</h3><p>If you’ve ever browsed a company’s Glassdoor page and noticed an odd cluster of 5-star reviews posted within days of each other, often echoing similar language (“great culture,” “transparent leadership,” “best place I’ve worked”), chances are you’ve stumbled on a <strong>reputation management campaign</strong>.</p><p>These typically appear in the wake of layoffs, when morale is low, internal trust is broken, and external perception becomes a priority for leadership. It’s a textbook PR maneuver: shift the narrative before the truth takes hold.</p><h3>Why This Matters</h3><ol><li><strong>It misleads job seekers.</strong> Candidates use Glassdoor to make informed decisions. Fake reviews distort that decision-making process, potentially luring people into toxic or unstable environments.</li><li><strong>It erodes trust internally.</strong> Employees who remain after layoffs often see these reviews for what they are — and the result is deeper cynicism, disengagement, and attrition.</li><li><strong>It masks deeper problems.</strong> Instead of addressing the root causes of turnover, poor morale, or failed strategy, companies focus on optics. This avoidance only delays necessary change.</li></ol><h3>The Red Flags to Watch For</h3><ul><li>Sudden influx of glowing reviews with similar wording or structure</li><li>Posts from “former employees” right after mass layoffs</li><li>Contradictions between new reviews and long-standing negative feedback</li><li>Emphasis on leadership and values, without mention of real projects or challenges</li><li>Overuse of generic corporate language: “best culture,” “amazing leadership,” “great work-life balance”</li></ul><h3>What Can Be Done?</h3><p><strong>For job seekers:</strong></p><ul><li>Sort reviews by date <strong>and</strong> filter by role or department.</li><li>Reach out directly to current or former employees on LinkedIn for context.</li><li>Take extreme reviews (positive or negative) with a grain of salt.</li></ul><p><strong>For employees:</strong></p><ul><li>If you’re asked to write a review, reflect honestly. It’s okay to acknowledge both good and bad.</li><li>Whistleblowing platforms exist for a reason. Don’t let forced positivity drown out your voice.</li></ul><p><strong>For companies:</strong></p><ul><li>Own the narrative with transparency. Acknowledge layoffs publicly. Share what’s being done to support affected employees and rebuild morale.</li><li>Encourage honest feedback year-round — not just during PR crises.</li><li>Recognize that long-term reputation is built through <strong>culture</strong>, not campaigns.</li></ul><h3>Final Thoughts</h3><p>The digital era gives companies unprecedented control over their image. But with that power comes responsibility. Glassdoor isn’t a stage — it’s a mirror. And if a company doesn’t like what it sees, the answer isn’t to break the mirror. It’s to fix the reflection.</p><p>If you’d like, I can help tailor this article for a particular audience, such as tech professionals, HR leaders, or job seekers. Would you like a version with quotes or references to real examples?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80e2345fffb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating ADHD in the Workplace: Overcoming Challenges and Leveraging Strategies for Success]]></title>
            <link>https://medium.com/@nathan.sandi/navigating-adhd-in-the-workplace-overcoming-challenges-and-leveraging-strategies-for-success-623fe2c4e6fb?source=rss-fbb7151d5bab------2</link>
            <guid isPermaLink="false">https://medium.com/p/623fe2c4e6fb</guid>
            <category><![CDATA[work]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[workplace]]></category>
            <category><![CDATA[ahdh]]></category>
            <dc:creator><![CDATA[Nathanyel Sandi]]></dc:creator>
            <pubDate>Wed, 10 Apr 2024 09:02:07 GMT</pubDate>
            <atom:updated>2024-04-10T09:12:36.456Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F5l2RIOhDXvU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5l2RIOhDXvU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F5l2RIOhDXvU%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb63a9c0a44eda7cafe5df87d03dbff6/href">https://medium.com/media/eb63a9c0a44eda7cafe5df87d03dbff6/href</a></iframe><p>In the fast-paced and ever-evolving corporate landscape, individuals with Attention Deficit Hyperactivity Disorder (ADHD) often encounter unique hurdles. From the core symptoms of inattention and hyperactivity to the complexities of impulsivity, the professional journey for those with ADHD is fraught with challenges that can impact their productivity, work quality, and interpersonal relationships. Despite these obstacles, there exists a plethora of strategies that, when effectively implemented, can turn potential setbacks into pathways for success, fostering a work environment where diversity in cognitive functioning is not just accepted but embraced for the value it brings.</p><p>The nuances of ADHD manifest in various ways in the workplace. For some, staying focused on a single task becomes a Herculean effort, making it difficult to meet deadlines or manage projects efficiently. Others might find the traditional office setting a mismatch for their need for movement, while impulsivity might lead to snap decisions or actions that could have been better thought through.</p><p>Recognizing the multifaceted challenges ADHD presents in the workplace marks the crucial first step in our journey toward empowerment and adaptation. It’s a pivotal moment of acknowledgment that paves the way for transformative action. With this awareness in hand, we are poised at the threshold of change, ready to step into the realm of solutions and strategies. The quest for focus and productivity in the midst of distractions beckons us to reimagine our workspaces and daily routines. It’s here, in the commitment to structure and clarity, that we find the tools and practices capable of turning the tide. Embracing this structured approach becomes not just a strategy, but a catalyst for a profound metamorphosis of our professional lives.</p><p><strong>Crafting a Sanctuary of Structure in a World of Distractions</strong></p><p>Imagine transforming your workspace into a sanctuary where focus flourishes and productivity blooms. This vision becomes reality when we delineate our tasks with crystal clarity and assign them a hierarchy of priority. In my journey, embracing tools designed for such a purpose has been a game changer.</p><ul><li>Trello has been my digital canvas, where tasks find their place on boards, taking form as lists and cards, each step forward visible, making progress palpable.</li><li>Asana has served as my virtual project manager, its timeline feature a reminder of the interconnectedness of tasks, fostering a holistic view of projects and deadlines.</li><li>With Todoist, the simplicity of listing tasks paired with the power of setting priorities and deadlines transforms overwhelming days into a series of achievable goals.</li></ul><p>These tools are more than mere applications; they are extensions of my mind, organizing thoughts and tasks in a world that often feels disorganized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g0Mu5OkLhCCMhik6.jpeg" /></figure><p><strong>The Symphony of Small Steps and Short Breaks</strong></p><p>Breaking tasks into smaller, digestible pieces has been akin to finding calm in the chaos. It’s an art form where overwhelming projects become series of small victories. Coupled with the practice of taking regular, short breaks — a technique championed by the Pomodoro method — focus is refreshed, and energy is renewed. Apps like Focus Booster and Be Focused have been instrumental in this practice, infusing my work routine with rhythm and pace.</p><p><strong>Navigating the Rapids of Communication with Precision and Grace</strong></p><p>In a sea of misunderstandings and missed signals, clear communication emerges as the lighthouse guiding us to success. Whether it’s articulating our needs for flexible work arrangements or adjustments to our workspaces, the clarity of our voice is paramount. Platforms like Slack and Microsoft Teams have bridged the gaps, ensuring that our messages are not just sent but received and understood, fostering a culture of transparency and support.</p><p><strong>The Journey of Organizing Thoughts and Tasks</strong></p><p>In the realm of thoughts and ideas, where chaos often reigns, tools like Evernote and Google Keep have been my allies. They serve as repositories for the fleeting thoughts and the structured plans, ensuring that no idea is lost and every task is accounted for.</p><p><strong>Conclusion</strong></p><p>In conclusion, while ADHD presents distinct challenges in the professional realm, the collective effort of individuals and organizations to understand, accommodate, and support can transform these challenges into opportunities for growth and success. By embracing strategies that cater to diverse needs, the workplace can become a nurturing environment where every employee, regardless of their neurodiversity, has the opportunity to thrive and contribute to their fullest potential.</p><p>In sharing this narrative, my hope is to light a lantern for those navigating the professional landscape with ADHD. The journey is fraught with challenges, yes, but armed with the right tools and strategies, it is also one rich with potential for growth, innovation, and success. This is not just the story of navigating ADHD in the professional world; it’s a testament to transforming perceived limitations into stepping stones for achievement. May this sharing serve as a beacon of hope and a testament to the power of personalized strategies in harnessing our unique strengths.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=623fe2c4e6fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Reasons Why Agile Methodologies Are Essential for Business Success]]></title>
            <link>https://medium.com/@nathan.sandi/10-reasons-why-agile-methodologies-are-essential-for-business-success-847c8aa2e59a?source=rss-fbb7151d5bab------2</link>
            <guid isPermaLink="false">https://medium.com/p/847c8aa2e59a</guid>
            <category><![CDATA[ágil]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Nathanyel Sandi]]></dc:creator>
            <pubDate>Tue, 14 Mar 2023 11:57:00 GMT</pubDate>
            <atom:updated>2023-03-14T11:57:00.279Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*pHOGwTfigZaUwZrzto6o4A.png" /></figure><p>As the business world continues to evolve at an unprecedented pace, companies must adopt new strategies and tools to remain competitive. One such strategy is agile, which has become increasingly popular among businesses of all sizes in recent years.</p><p>Agile is a methodology that emphasizes flexibility, collaboration, and continuous improvement. It was originally developed for software development, but its principles can be applied to any project or process.</p><p>In today’s fast-paced business environment, agility is more important than ever. Here are 10 reasons that show why Agile is efficient for your business:</p><ul><li>Speed and efficiency: Agile teams work in short cycles, known as sprints, which enable them to deliver value quickly and efficiently. By breaking down complex projects into smaller, manageable tasks, teams can focus on what’s most important and avoid wasting time on unnecessary work.</li><li>Adaptability: Agile teams are able to adapt to changing circumstances and requirements quickly and easily. This is because they prioritize communication and collaboration, which enables them to respond to feedback and make adjustments as needed.</li><li>Customer satisfaction: Agile methodologies place a strong emphasis on delivering value to the customer. By prioritizing customer needs and feedback, teams can ensure that they are delivering products and services that meet customer expectations.</li><li>Innovation: Agile methodologies encourage experimentation and continuous improvement. By embracing failure as a learning opportunity, teams can innovate and develop new ideas more effectively.</li><li>Employee engagement: Agile methodologies promote collaboration and teamwork, which can lead to higher levels of employee engagement and satisfaction. When employees are engaged and motivated, they are more likely to produce high-quality work and remain with the company long-term.</li><li>Cost-effectiveness: Agile methodologies also help to reduce costs in a number of ways. By breaking down projects into smaller tasks, teams can identify and address potential issues early on, preventing costly delays and rework down the line. Additionally, by prioritizing customer needs and feedback, teams can avoid spending time and resources on features or services that don’t add value.</li><li>Improved transparency: Agile methodologies promote transparency by providing stakeholders with regular updates on progress and allowing them to provide feedback throughout the development process. This helps to ensure that everyone is on the same page and working towards the same goals.</li><li>Better risk management: Agile teams are able to identify and mitigate potential risks early on, thanks to their focus on regular communication and collaboration. By working in short sprints, teams can quickly adjust their approach if something isn’t working, minimizing the risk of major setbacks.</li><li>Increased innovation and creativity: Agile methodologies encourage teams to think outside the box and experiment with new ideas. By breaking down projects into smaller tasks and focusing on delivering value to the customer, teams can develop innovative solutions that meet customer needs and differentiate themselves from the competition.</li><li>Competitive advantage: By adopting agile methodologies, companies can gain a significant competitive advantage over those that are slower to adapt. Agile allows companies to respond to changing market conditions and customer needs quickly, which can help them to stay ahead of the curve and outmaneuver the competition.</li></ul><p>In conclusion, agile is an essential tool for companies that want to thrive in today’s business world. By embracing agility, companies can improve their speed, efficiency, adaptability, customer satisfaction, innovation, and employee engagement. So if you haven’t already, it’s time to start thinking about how you can integrate agile methodologies into your business processes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=847c8aa2e59a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Streaming Twitter Data to Apache Kafka Using Kotlin]]></title>
            <link>https://medium.com/@nathan.sandi/streaming-twitter-data-to-apache-kafka-using-kotlin-d2880908c2d2?source=rss-fbb7151d5bab------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2880908c2d2</guid>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[kafka-streams]]></category>
            <dc:creator><![CDATA[Nathanyel Sandi]]></dc:creator>
            <pubDate>Tue, 31 Jan 2023 13:05:31 GMT</pubDate>
            <atom:updated>2023-01-31T13:05:31.958Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Twitter API is a platform that provides access to the tweets posted on Twitter. With the API, you can programmatically extract and interact with tweets, users, trends, and other data on Twitter. The API is essential for building a wide range of Twitter-based applications, including bots, data analytics tools, and social media monitoring platforms.</p><p>In this article, we will learn how to use the Twitter API to produce messages in Kotlin and send them to a Kafka producer in the event stream.</p><h3>Requirements</h3><ol><li>Twitter API: The source of the tweets that will be processed.</li><li>Kotlin Application: The application that uses the Twitter API to retrieve tweets, processes them, and produces them to a Kafka topic.</li><li>Apache Kafka: The event streaming platform that receives the processed tweets from the Kotlin application and stores them in a topic for further processing or consumption.</li></ol><h3>Architecture overview</h3><p>The data flow in this architecture is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_8HB7G16AC_-ykozxFgd0g.png" /><figcaption>Data workflow</figcaption></figure><ol><li>The Kotlin application authenticates with the Twitter API using the Twitter API key and secret.</li><li>The application retrieves the tweets containing a specific keyword or hashtag using the Twitter API’s search method.</li><li>The tweets are processed by the Kotlin application and converted into messages.</li><li>The messages are produced to a Kafka topic using a Kafka producer.</li><li>The messages are stored in the Kafka topic, where they can be consumed by other applications or processed further.</li></ol><p>This architecture provides a flexible and scalable solution for processing and storing tweets from the Twitter API. The ability to handle a large volume of tweets and the ability to process them in real-time make it a valuable tool for various data analysis and processing use cases.</p><h3>Configure Twitter API</h3><p>Step 1: Set up a Twitter Developer Account To use the Twitter API, you need to have a Twitter developer account. To create one, visit the Twitter Developer website and create an account. After that, you need to create a new project and apply for a Twitter API key.</p><p>Step 2: Install Required Libraries We will use the Twitter4J library to access the Twitter API and the Apache Kafka library to produce messages in the event stream. To install these libraries, add the following dependencies to your build.gradle file:</p><pre>koimplementation &#39;org.twitter4j:twitter4j-core:4.0.7&#39;<br>implementation &#39;org.apache.kafka:kafka-clients:2.7.0&#39;</pre><p>Step 3: Authenticate with the Twitter API To authenticate with the Twitter API, you need to pass your Twitter API key and secret as follows:</p><p>Step 3: Authenticate with the Twitter API To authenticate with the Twitter API, you need to pass your Twitter API key and secret as follows:</p><pre>val config = ConfigurationBuilder()<br>    .setOAuthConsumerKey(&quot;YOUR_CONSUMER_KEY&quot;)<br>    .setOAuthConsumerSecret(&quot;YOUR_CONSUMER_SECRET&quot;)<br>    .build()<br>val twitter = TwitterFactory(config).instance</pre><p>Step 4: Retrieve Tweets To retrieve tweets, we can use the Twitter API’s search method to search for tweets containing a specific keyword or hashtag. For example, the following code retrieves the latest tweets containing the hashtag “#kotlin”:</p><pre>val query = Query(&quot;#kotlin&quot;)<br>val result = twitter.search(query)<br>val tweets = result.tweets</pre><h3>Streaming data over Kafka</h3><p>To produce messages to Kafka, we need to create a Kafka producer and send messages to a specific topic. For example, the following code sends each tweet as a message to the “tweets” topic:</p><pre>val props = Properties()<br>props[&quot;bootstrap.servers&quot;] = &quot;localhost:9092&quot;<br>props[&quot;key.serializer&quot;] = &quot;org.apache.kafka.common.serialization.StringSerializer&quot;<br>props[&quot;value.serializer&quot;] = &quot;org.apache.kafka.common.serialization.StringSerializer&quot;<br>val producer = KafkaProducer&lt;String, String&gt;(props)<br>for (status in tweets) {<br>    val record = ProducerRecord(&quot;tweets&quot;, status.text)<br>    producer.send(record)<br>}<br>producer.flush()<br>producer.close()</pre><p>You can have more context about how to setup Kafka over this article: <a href="https://medium.com/@nathan.sandi/getting-started-with-apache-kafka-a-step-by-step-tutorial-669851fd0c42">https://medium.com/@nathan.sandi/getting-started-with-apache-kafka-a-step-by-step-tutorial-669851fd0c42</a></p><h3><strong>Conclusion</strong></h3><p>In conclusion, the Twitter API provides a vast amount of data that can be used to build various applications. By combining the Twitter API with Kafka, you can create a robust and scalable event stream that can be used to process tweets in real-time. In this article, we have shown how to use the Twitter API to produce messages in Kotlin and send them to a Kafka producer. We hope that this tutorial will help you get started with using the Twitter API and Kafka in your projects.</p><p>It’s important to keep in mind that while this code serves as a foundation, it’s only the beginning. With the Twitter API, there are many possibilities for data analysis and processing, and with the power of Kafka, you can scale your event stream to handle even the largest amounts of data. So, take what you have learned here and build upon it to create innovative and exciting applications that harness the power of both Twitter and Kafka.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2880908c2d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Apache Kafka: A Step-by-Step Tutorial]]></title>
            <link>https://medium.com/@nathan.sandi/getting-started-with-apache-kafka-a-step-by-step-tutorial-669851fd0c42?source=rss-fbb7151d5bab------2</link>
            <guid isPermaLink="false">https://medium.com/p/669851fd0c42</guid>
            <category><![CDATA[event-driven-architecture]]></category>
            <category><![CDATA[kafka]]></category>
            <dc:creator><![CDATA[Nathanyel Sandi]]></dc:creator>
            <pubDate>Wed, 25 Jan 2023 17:50:11 GMT</pubDate>
            <atom:updated>2023-01-25T17:59:32.655Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Kafka?</h3><p>Apache Kafka is an open-source, distributed event streaming platform used for building real-time data pipelines and streaming applications. It is designed to handle high volume, high throughput, and low latency data streams, and can process, store, and analyze large amounts of data in real-time.</p><p>Kafka is based on a publish-subscribe model, where producers write data to topics and consumers read from those topics. Topics are partitioned and replicated across multiple Kafka broker, which allows for high scalability and fault tolerance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*kyoHRWas6kNkvrRZflDsUg.png" /><figcaption>Representation of how Kafka Works</figcaption></figure><h3>Why Kafka?</h3><p>The benefit of Apache Kafka is that organizations can adopt streaming data architecture to build custom software services that store and process “big data” according to the particular requirements of their industry or business model.</p><h3>Getting Started</h3><p><strong>Installation:</strong> In order to use Kafka, you first need to download and install it on your machine. You can download the latest version of Kafka from the Apache Kafka website (<a href="https://kafka.apache.org/downloads">https://kafka.apache.org/downloads</a>). Once you have downloaded the binary, extract it to a location on your machine and navigate to the bin directory.</p><p><strong>Starting the Kafka Server:</strong> To start the Kafka server, open a terminal window and navigate to the bin directory of your Kafka installation. Once you are in the bin directory, run the following command:</p><pre>./kafka-server-start.sh config/server.properties</pre><p>This command will start the Kafka server on your machine.</p><p><strong>Creating a Topic: </strong>A topic is a named stream of data in Kafka. To create a topic, run the following command:</p><pre>./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor <br>1 --partitions 1 --topic &lt;topic-name&gt;</pre><p>Replace &lt;topic-name&gt; with the name of the topic that you want to create.</p><p><strong>Producing and Consuming Messages:</strong> Once you have started the Kafka server and created a topic, you can start producing and consuming messages. To produce messages, you can use the kafka-console-producer.sh script. To consume messages, you can use the kafka-console-consumer.sh script.</p><p>Produce messages</p><pre>./kafka-console-producer.sh --broker-list localhost:9092 --topic &lt;topic-name&gt;</pre><p>Consume messages</p><pre>./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic <br>&lt;topic-name&gt; --from-beginning</pre><p>These are the basic steps for setting up and using Kafka. You can also use Kafka with other programming languages, such as Java, Python, and C#, by using a Kafka client library for that language.</p><h3>Kafka &amp; Kotlin</h3><p>Requirements: Kafka server running (explained in the previous section)</p><p>In order to consume and produce messages in Kafka using Kotlin and Spring Boot, you will need to include the Spring Kafka dependency in your project. You can do this by adding the following line to your build.gradle file:</p><pre>implementation &#39;org.springframework.kafka:spring-kafka&#39;</pre><p>Once you have the dependency added, you can create a Kafka consumer and producer in your Spring Boot application.</p><p>To create a Kafka consumer, you can use the @KafkaListener annotation on a method in your application. This method will be called every time a message is received on the specified topic. Here&#39;s an example of a Kafka consumer in Kotlin:</p><pre>@KafkaListener(topics = [&quot;my-topic&quot;])<br>fun listen(message: String) {<br>    println(&quot;Received message: $message&quot;)<br>}</pre><p>To create a Kafka producer, you can use the KafkaTemplate class provided by Spring Kafka. You can use the send() method to send a message to a specified topic. Here&#39;s an example of a Kafka producer in Kotlin:</p><pre>@Autowired<br>lateinit var kafkaTemplate: KafkaTemplate&lt;String, String&gt;<br>fun sendMessage(topic: String, message: String) {<br>    kafkaTemplate.send(topic, message)<br>}</pre><p>You will need to configure the Kafka broker address and other properties in your application.yml or application.properties file.</p><pre>spring:<br>  kafka:<br>    bootstrap-servers: localhost:9092</pre><p>With these steps, you should now be able to consume and produce messages in Kafka using Kotlin and Spring Boot.</p><h3>Conclusion</h3><p>This is a basic example of how to setup and use Kafka, in the next steps will be introduced a real-time producer using Twitter API. Where we gonna use Kafka producer in order to publish messages from Twitter to an event stream.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=669851fd0c42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating my first app with Angular]]></title>
            <link>https://medium.com/@nathan.sandi/creating-my-first-app-with-angular-5efd3503294f?source=rss-fbb7151d5bab------2</link>
            <guid isPermaLink="false">https://medium.com/p/5efd3503294f</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[it]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Nathanyel Sandi]]></dc:creator>
            <pubDate>Tue, 17 May 2022 18:03:48 GMT</pubDate>
            <atom:updated>2022-05-17T18:03:48.661Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>Create a project in Angular from the beginning, sounds a hard task, as it is necessary create the initial structure of folders, the root components, modules, etc. However, all of those steps can be easily overcome using the Angular CLI(command-line interface). This article introduces how to create a project on Angular CLI as well new components.</p><p><strong>Creating and executing a project with Angular CLI</strong></p><p>To create a new project on angular we will execute the follow command:</p><pre>ng new hello-world</pre><p>After executing this, the structure of folders and files will be created automatically. The screenshot below present how the Angular project is structured:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*ctTVXeJHyPlTOVGNzcNb-Q.png" /><figcaption>Structure of Angular Project</figcaption></figure><p>It is possible to change this structure, however it is recommended to keep it. The follow table presents some more details related to the structure of the Angular project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*5WgVYnxHtHfKguIEGmIPHg.png" /><figcaption>Structure of an Angular folders</figcaption></figure><p>In order to test in a local HTTP server, you can use the follow command:</p><pre>ng serve</pre><p><strong>Creating components in Angular</strong></p><p>Angular CLI provides a set of commands that allow you to create different artifacts. One of the most important artifacts for development with Angular is the component, which is<strong> </strong>the most basic UI building block of an Angular app.</p><p>To create a new comment easily, execute the follow command on Angular CLI:</p><pre>ng generate my-first-component</pre><p>As the output, the follow files will be created:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*janw0zF1c74pQ5u24ZjN2A.png" /><figcaption>Component files</figcaption></figure><p>Note that in addition, to creating a new directory and the four necessary files for a component, this command also updates the app.module.ts file, in order to inform angular that a new component was created. To use this component is necessary to set it routes and add in it in the app root.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5efd3503294f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>