SlideShare a Scribd company logo
Real-time data processing with
Anypoint Connector for Kafka
• Apache Kafka started at LinkedIn in 2010 as a simple messaging
system to process massive real-time data, and now it handles 1.4
trillion messages per day at LinkedIn. According to Kafka Summit
2016, it has gained lots of adoption (2.2 million downloads in the last
two years) in thousands of companies including Airbnb, Cisco,
Goldman Sachs, Microsoft, Netflix, Salesforce, Twitter, and Uber.
MuleSoft has also been using Kafka to power its analytics engine.
• Companies use Kafka in various use cases: application monitoring,
data warehouse, asynchronous applications, system monitoring,
recommendation/ decision engines, customer preferences/
personalizations, and security/ fraud detection. Moreover, MuleSoft
customers also use Kafka in various ways as well. One of our
customers uses Kafka as an event bus to log messages. Another
customer processes real-time data from field equipment for faster
decision making and automation with Kafka, and others aggregate
data from different sources through Kafka. To help our customers
quickly and easily ingest data from Kafka and/or publish data to Kafka,
MuleSoft is thrilled to release the Anypoint Connector for Kafka today.
• Here is a quick example of how to use the Kafka Connector based on
Kafka 0.9. This demo app allows you to publish a message to a topic
and to ingest a message from a topic. The app consists of three flows;
the first flow shows you a web page where you can publish a message
to Kafka, the second flow is for Kafka consumer, and the third flow is
for Kafka producer.
• Let’s configure this Kafka Connector first. If you go to Global
Elements, you will find “Apache Kafka.” After selecting “Apache
Kafka,” please click on “Edit.”
Real time data processing with anypoint connector for kafka
• In the “Apache Kafka: Configuration”, you can specify the
configuration of your Kafka server. You could directly add your
Bootstrap Server information in the configuration, but I recommend
you use the properties file to add your configuration information.
• mule-app.properties include the following keys-value pairs:
• config.bootstrapServers={your Kafka Server address}
• config.consumerPropertiesFile=consumer.properties
• config.producerPropertiesFile=producer.properties
• # Consumer specific information
• consumer.topic=one-replica
• consumer.topic.partitions=1
• Since Kafka provides various settings for producer and consumer, you
can add your own settings in consumer.properties for consumer and
producer.properties for producer under src/main/resource.
• After you complete the configuration for your Kafka environment, run
the app. When you open up a browser and hit localhost:8081, your
browser will show the following page.
Real time data processing with anypoint connector for kafka
• Since this demo app is listening to the “one-replica” topic, when you
publish a message to the “one-replica” topic, you can see your
message being logged in the Studio console by the consumer-flow.
• For new users, try the above example to get started, and for others,
please share with us how you are planning to use the Kafka
Connector! Also, feel free to check out our Anypoint Connector to see
what other out-of-the-box connectors we have to offer.

More Related Content

What's hot (20)

PPTX
Migrating with Debezium
Mike Fowler
 
PPTX
Kafka connect
Andrew Stevenson
 
PDF
Developing a custom Kafka connector? Make it shine! | Igor Buzatović, Porsche...
HostedbyConfluent
 
PPTX
Schema registry
Whiteklay
 
PPTX
How to – wrap soap web service around a database
Son Nguyen
 
PDF
Kafka Streams: What it is, and how to use it?
confluent
 
PDF
Partner Development Guide for Kafka Connect
confluent
 
PPTX
Winter '19 release development.ppt
Kailas Shimpi
 
PDF
Deploying Kafka on DC/OS
Kaufman Ng
 
PDF
Spark and Bloomberg by Sudarshan Kadambi and Partha Nageswaran
Spark Summit
 
PDF
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies...
HostedbyConfluent
 
PPTX
Confluent Kafka and KSQL: Streaming Data Pipelines Made Easy
Kairo Tavares
 
PPTX
Real-World Pulsar Architectural Patterns
Devin Bost
 
PDF
Feed Your SIEM Smart with Kafka Connect (Vitalii Rudenskyi, McKesson Corp) Ka...
HostedbyConfluent
 
PDF
The Migration to Event-Driven Microservices (Adam Bellemare, Flipp) Kafka Sum...
confluent
 
PPTX
Data Pipelines with Kafka Connect
Kaufman Ng
 
PPTX
Data Integration with Apache Kafka: What, Why, How
Pat Patterson
 
PPTX
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with A...
confluent
 
PPTX
Large scale, distributed and reliable messaging with Kafka
Rafał Hryniewski
 
PPTX
Event Driven Architectures with Apache Kafka
Matt Masuda
 
Migrating with Debezium
Mike Fowler
 
Kafka connect
Andrew Stevenson
 
Developing a custom Kafka connector? Make it shine! | Igor Buzatović, Porsche...
HostedbyConfluent
 
Schema registry
Whiteklay
 
How to – wrap soap web service around a database
Son Nguyen
 
Kafka Streams: What it is, and how to use it?
confluent
 
Partner Development Guide for Kafka Connect
confluent
 
Winter '19 release development.ppt
Kailas Shimpi
 
Deploying Kafka on DC/OS
Kaufman Ng
 
Spark and Bloomberg by Sudarshan Kadambi and Partha Nageswaran
Spark Summit
 
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies...
HostedbyConfluent
 
Confluent Kafka and KSQL: Streaming Data Pipelines Made Easy
Kairo Tavares
 
Real-World Pulsar Architectural Patterns
Devin Bost
 
Feed Your SIEM Smart with Kafka Connect (Vitalii Rudenskyi, McKesson Corp) Ka...
HostedbyConfluent
 
The Migration to Event-Driven Microservices (Adam Bellemare, Flipp) Kafka Sum...
confluent
 
Data Pipelines with Kafka Connect
Kaufman Ng
 
Data Integration with Apache Kafka: What, Why, How
Pat Patterson
 
Modern Cloud-Native Streaming Platforms: Event Streaming Microservices with A...
confluent
 
Large scale, distributed and reliable messaging with Kafka
Rafał Hryniewski
 
Event Driven Architectures with Apache Kafka
Matt Masuda
 

Viewers also liked (13)

PPTX
Speedment & Sencha at Oracle Open World 2015
Speedment, Inc.
 
PDF
Ambiental Prevencion gestion ambiental minera
figempa uce
 
PPTX
Naša škôlka
Jana Tatarková
 
PDF
Petsil registropozos
figempa uce
 
PDF
Ambiental Diseño ambiental
figempa uce
 
DOCX
Syllabus de liderazgo minas 15 16
figempa uce
 
PPTX
JavaOne2016 - How to Generate Customized Java 8 Code from Your Database [TUT4...
Speedment, Inc.
 
PPTX
Coding skills από το πανεπιστήμιο και μετά
Kostas Karpouzis
 
PDF
Petsil ingeconomica
figempa uce
 
PDF
Minas Geologia estructural
figempa uce
 
PDF
Ambiental Fisico quimica y termodinamica
figempa uce
 
PDF
Vergelijking eenmanszaak 2.pdf
benedictevm
 
PPTX
Coding skills από το πανεπιστήμιο και μετά
Kostas Karpouzis
 
Speedment & Sencha at Oracle Open World 2015
Speedment, Inc.
 
Ambiental Prevencion gestion ambiental minera
figempa uce
 
Naša škôlka
Jana Tatarková
 
Petsil registropozos
figempa uce
 
Ambiental Diseño ambiental
figempa uce
 
Syllabus de liderazgo minas 15 16
figempa uce
 
JavaOne2016 - How to Generate Customized Java 8 Code from Your Database [TUT4...
Speedment, Inc.
 
Coding skills από το πανεπιστήμιο και μετά
Kostas Karpouzis
 
Petsil ingeconomica
figempa uce
 
Minas Geologia estructural
figempa uce
 
Ambiental Fisico quimica y termodinamica
figempa uce
 
Vergelijking eenmanszaak 2.pdf
benedictevm
 
Coding skills από το πανεπιστήμιο και μετά
Kostas Karpouzis
 
Ad

Similar to Real time data processing with anypoint connector for kafka (20)

PDF
Connecting Apache Kafka With Mule ESB
Jitendra Bafna
 
PDF
Fault Tolerance with Kafka
Edureka!
 
PPTX
Building streaming data applications using Kafka*[Connect + Core + Streams] b...
Data Con LA
 
PDF
Kafka Up And Running For Network Devops Set Your Network Data In Motion Eric ...
tjademargis
 
PDF
Python Kafka Integration: Developers Guide
Inexture Solutions
 
PDF
Apache Kafka - Strakin Technologies Pvt Ltd
Strakin Technologies Pvt Ltd
 
PDF
Building Streaming Data Applications Using Apache Kafka
Slim Baltagi
 
PPTX
Kafka.pptx (uploaded from MyFiles SomnathDeb_PC)
somnathdeb0212
 
PPTX
Apache Kafka: Next Generation Distributed Messaging System
Edureka!
 
PDF
Apache kafka
NexThoughts Technologies
 
PPTX
Apache kafka
Janu Jahnavi
 
PDF
Apache kafka
Janu Jahnavi
 
PDF
Trivadis TechEvent 2016 Apache Kafka - Scalable Massage Processing and more! ...
Trivadis
 
PPTX
Apache kafka
Kumar Shivam
 
PPTX
Current and Future of Apache Kafka
Joe Stein
 
PPTX
Apache kafka
sureshraj43
 
PPTX
Kafka presentation
Mohammed Fazuluddin
 
PPTX
kafka_session_updated.pptx
Koiuyt1
 
PDF
Confluent Enterprise Datasheet
confluent
 
PPTX
Kafka Streams for Java enthusiasts
Slim Baltagi
 
Connecting Apache Kafka With Mule ESB
Jitendra Bafna
 
Fault Tolerance with Kafka
Edureka!
 
Building streaming data applications using Kafka*[Connect + Core + Streams] b...
Data Con LA
 
Kafka Up And Running For Network Devops Set Your Network Data In Motion Eric ...
tjademargis
 
Python Kafka Integration: Developers Guide
Inexture Solutions
 
Apache Kafka - Strakin Technologies Pvt Ltd
Strakin Technologies Pvt Ltd
 
Building Streaming Data Applications Using Apache Kafka
Slim Baltagi
 
Kafka.pptx (uploaded from MyFiles SomnathDeb_PC)
somnathdeb0212
 
Apache Kafka: Next Generation Distributed Messaging System
Edureka!
 
Apache kafka
Janu Jahnavi
 
Apache kafka
Janu Jahnavi
 
Trivadis TechEvent 2016 Apache Kafka - Scalable Massage Processing and more! ...
Trivadis
 
Apache kafka
Kumar Shivam
 
Current and Future of Apache Kafka
Joe Stein
 
Apache kafka
sureshraj43
 
Kafka presentation
Mohammed Fazuluddin
 
kafka_session_updated.pptx
Koiuyt1
 
Confluent Enterprise Datasheet
confluent
 
Kafka Streams for Java enthusiasts
Slim Baltagi
 
Ad

More from Son Nguyen (20)

PPTX
Your new maven friend – the mule maven
Son Nguyen
 
PPTX
Soa governance for the modern business
Son Nguyen
 
PPTX
Quality sdk for your apis in minutes!
Son Nguyen
 
PPTX
Maven tools & archetypes
Son Nguyen
 
PPTX
Let api change your relationship with your doctor
Son Nguyen
 
PPTX
Increase revenue and reinvigorate your business with api
Son Nguyen
 
PPTX
How to – rest api proxy to soap webservice
Son Nguyen
 
PPTX
Anypoint runtime manager v1
Son Nguyen
 
PPTX
A good api strategy can help turn your
Son Nguyen
 
PPTX
10 steps to design and build the perfect
Son Nguyen
 
PPTX
What is the difference between using private flow
Son Nguyen
 
PPTX
Troubleshooting mule
Son Nguyen
 
PPTX
Running mule as worker role on azure
Son Nguyen
 
PPTX
Performance tuning in mule
Son Nguyen
 
PPTX
Mule intelli j tips
Son Nguyen
 
PPTX
Introducing the anypoint connector for redis
Son Nguyen
 
PPTX
How to – data integrity checks in batch processing
Son Nguyen
 
PPTX
How soa paved the way for cloud
Son Nguyen
 
PPTX
Mq user and role access
Son Nguyen
 
PPTX
Anypoint mq queues and exchanges
Son Nguyen
 
Your new maven friend – the mule maven
Son Nguyen
 
Soa governance for the modern business
Son Nguyen
 
Quality sdk for your apis in minutes!
Son Nguyen
 
Maven tools & archetypes
Son Nguyen
 
Let api change your relationship with your doctor
Son Nguyen
 
Increase revenue and reinvigorate your business with api
Son Nguyen
 
How to – rest api proxy to soap webservice
Son Nguyen
 
Anypoint runtime manager v1
Son Nguyen
 
A good api strategy can help turn your
Son Nguyen
 
10 steps to design and build the perfect
Son Nguyen
 
What is the difference between using private flow
Son Nguyen
 
Troubleshooting mule
Son Nguyen
 
Running mule as worker role on azure
Son Nguyen
 
Performance tuning in mule
Son Nguyen
 
Mule intelli j tips
Son Nguyen
 
Introducing the anypoint connector for redis
Son Nguyen
 
How to – data integrity checks in batch processing
Son Nguyen
 
How soa paved the way for cloud
Son Nguyen
 
Mq user and role access
Son Nguyen
 
Anypoint mq queues and exchanges
Son Nguyen
 

Recently uploaded (20)

PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
July Patch Tuesday
Ivanti
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
July Patch Tuesday
Ivanti
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 

Real time data processing with anypoint connector for kafka

  • 1. Real-time data processing with Anypoint Connector for Kafka
  • 2. • Apache Kafka started at LinkedIn in 2010 as a simple messaging system to process massive real-time data, and now it handles 1.4 trillion messages per day at LinkedIn. According to Kafka Summit 2016, it has gained lots of adoption (2.2 million downloads in the last two years) in thousands of companies including Airbnb, Cisco, Goldman Sachs, Microsoft, Netflix, Salesforce, Twitter, and Uber. MuleSoft has also been using Kafka to power its analytics engine.
  • 3. • Companies use Kafka in various use cases: application monitoring, data warehouse, asynchronous applications, system monitoring, recommendation/ decision engines, customer preferences/ personalizations, and security/ fraud detection. Moreover, MuleSoft customers also use Kafka in various ways as well. One of our customers uses Kafka as an event bus to log messages. Another customer processes real-time data from field equipment for faster decision making and automation with Kafka, and others aggregate data from different sources through Kafka. To help our customers quickly and easily ingest data from Kafka and/or publish data to Kafka, MuleSoft is thrilled to release the Anypoint Connector for Kafka today.
  • 4. • Here is a quick example of how to use the Kafka Connector based on Kafka 0.9. This demo app allows you to publish a message to a topic and to ingest a message from a topic. The app consists of three flows; the first flow shows you a web page where you can publish a message to Kafka, the second flow is for Kafka consumer, and the third flow is for Kafka producer. • Let’s configure this Kafka Connector first. If you go to Global Elements, you will find “Apache Kafka.” After selecting “Apache Kafka,” please click on “Edit.”
  • 6. • In the “Apache Kafka: Configuration”, you can specify the configuration of your Kafka server. You could directly add your Bootstrap Server information in the configuration, but I recommend you use the properties file to add your configuration information.
  • 7. • mule-app.properties include the following keys-value pairs: • config.bootstrapServers={your Kafka Server address} • config.consumerPropertiesFile=consumer.properties • config.producerPropertiesFile=producer.properties • # Consumer specific information • consumer.topic=one-replica • consumer.topic.partitions=1
  • 8. • Since Kafka provides various settings for producer and consumer, you can add your own settings in consumer.properties for consumer and producer.properties for producer under src/main/resource. • After you complete the configuration for your Kafka environment, run the app. When you open up a browser and hit localhost:8081, your browser will show the following page.
  • 10. • Since this demo app is listening to the “one-replica” topic, when you publish a message to the “one-replica” topic, you can see your message being logged in the Studio console by the consumer-flow.
  • 11. • For new users, try the above example to get started, and for others, please share with us how you are planning to use the Kafka Connector! Also, feel free to check out our Anypoint Connector to see what other out-of-the-box connectors we have to offer.