Apache Kafka Connector – Mule 4

Apache Kafka is a multipurpose application. Integration with Apache Kafka relies on the applications that are typically used with it.

Example use cases include:

  • An integration application that ensures that patients in a hospital receive the care they need in a timely manner
    An example of this is a hospital server that processes emergency requests for patient admissions. The requests are ordered by priority determined by specified criteria, such as how critical the patient’s condition is and the staff that is available to treat the patient. In this scenario, an application processes Apache Kafka messages in the order that they are received, relying on the order and idempotency of the messages sent through the queue.
  • An application that is time-sensitive More info Mule Training
    An example is a newsroom that uses the Apache Kafka system to deliver the latest news. To retrieve the latest news, reading from the Apache Kafka queue sometimes requires reading from the end of the queue first.
  • Multiple applications that rely on the information provided by Apache Kafka
    For example, a department store uses a website activity tracker to improve the online shopping experience. The data that is gathered is sent to multiple departments for various computations. Each department reviews the information that’s received to stay informed about what the customer is looking for and then provides recommendations accordingly.

Use Flow Designer to Configure Apache Kafka Connector – Mule 4

Configure the Trigger

  1. In Design Center, click Create new.
  2. Click Create new application.
  3. Enter a Project name, and select the Target Environment.
  4. Click Create.
  5. Click Go straight to canvas to exit from Let’s get started.
  6. Click the name of the trigger card.
  7. If you are using the Anypoint Connector for Apache Kafka (Apache Kafka Connector) as a trigger, search for the connector; otherwise, search for HTTP Listener or Scheduler.
  8. Select the source.
    Apache Kafka Connector provides Batch message listener and Message listener as sources

To get in-depth knowledge, enroll for a live free demo on Mulesoft training

Leave a comment

Design a site like this with WordPress.com
Get started