SlideShare a Scribd company logo
1 of 43
Download to read offline
Kai Waehner
Field CTO
contact@kai-waehner.de
linkedin.com/in/kaiwaehner
@KaiWaehner
www.confluent.io
www.kai-waehner.de
Event Streaming vs. API Gateway / API Management
Friends, Enemies, or Frenemies?
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
1. APIs
2. Event Streaming and API Tools
3. Streaming Data Exchange
4. Streaming Service Mesh
Agenda
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
1. APIs
2. Event Streaming and API Tools
3. Streaming Data Exchange
4. Streaming Service Mesh
Agenda
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
What is an API?
• API = Application Programming Interface
• Defines interactions between multiple
software applications
• Defines the calls or requests, data formats,
conventions, extension mechanisms
• Information hiding enables modular
programming, and usage of the interface
independently of the implementation
• Not related to any specific technology
• Not always point-to-point
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
API Business Models
5
https://www.infoq.com/presentations/API-Business-Models/
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
What is a Standard API?
• Often powered by an organization
or industry consortium
• Vendor-agnostic
• Slow evolution
• Inflexible
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
The Evolution of Business to Business (B2B) Communication
Traditional B2B
• Complex interfaces
• Generic: EDI, RosettaNet, XBRL
• Industry specific: Swift (Banking), PNRs (Aviation),
HL7 (Healthcare), etc.
• Proprietary, inflexible, limited scale, batch
7
Modern B2B
• API- and data-driven
• Open, flexible, agile, scalable, real-time
• Valueable ecosystem and partnering
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Electronic Data Interchange (EDI)
EDI (including X12, EDIFACT, ODETTE, etc.) exists since the early 70s (until today)
Electronically communicating information that was communicated on paper
8
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
XML Schema
XPath
SOAP
WSDL
XML
The World of XML-based Web Service Standards
Often called “WS-* Hell” due to its complexity
</XML>
WS-Security
WS-Addressing
WS-Policy
Many more… L
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
What is an De Facto Standard API?
• Originates from an existing
successful solution
• Driven by a single vendor or by an
open community
• Practical processes and rules to
ensure good quality and consensus
• No complex, formal, long-running
standard processes
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
== de facto standard API for OBJECT STORAGE
Proprietary REST-based De Facto Standard API
https://www.kai-waehner.de/blog/2021/05/09/kafka-api-de-facto-standard-event-streaming-like-amazon-s3-object-storage/
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Is there a technology standard for APIs?
12
Use HTTP/REST
for every API!
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
1. APIs
2. Event Streaming and API Tools
3. Streaming Data Exchange
4. Streaming Service Mesh
Agenda
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
API Communication Paradigms
Request-Response
• Low latency
• Typically synchronous
• Point-to-point
• “Bespoke API”
• e.g. HTTP, SOAP, gRPC, Amazon S3
14
Event Streaming
• Messaging / Pub Sub (sending data from A to B and C)
• Continuous data processing (filtering, transformations,
aggregations, business logic)
• Asynchronous with real decoupling
• Event-driven, supporting patterns like Event Sourcing and CQRS
• General-purpose events
• e.g. Apache Kafka, Amazon Kinesis
Most enterprise architectures require
event streaming and request-response!
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Open Source De Facto Standard API
== de facto standard API for EVENT STREAMING
https://www.kai-waehner.de/blog/2021/05/09/kafka-api-de-facto-standard-event-streaming-like-amazon-s3-object-storage/
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
API Development Workflow
16
https://www.slideshare.net/KaiWaehner/a-new-front-for-soa-open-api-and-api-management-as-game-changer
X
Any API
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
API Gateway and API Management Tools
Common features:
• API Portal for creating and publishing APIs
• Enforcing usage policies and controlling access
• Technical features for data transformations
• Nurturing the subscriber community
• Collecting and analyzing usage statistics
• Reporting on performance
• Monetization and billing
17
API == REST/HTTP
for most of these products
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Business Digitalization Trends are Driving the Need to Process
Events at a whole new Scale, Speed and Efficiency
The World has Changed
Mobile Cloud Microservices Internet of Things Machine Learning
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
This is a fundamental paradigm shift...
19
Infrastructure
as code
Data in motion
as continuous
streams of events
Future of the
datacenter
Future of data
Cloud
Event
Streaming
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Apache Kafka is a Platform for Data in Motion
REST/HTTP is not compatible with the scale and speed of Event Streaming
MES
ERP
Sensors
Mobile
Customer 360
Real-time Alerting
System
Data warehouse
Producers
Consumers
Streams and storage of real time events
Stream
processing
apps
Connectors
Connectors
Stream
processing
apps
Supplier
Alert
Forecast
Inventory Customer
Order
20
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Kafka Makes Your Business Real-time and Scalable.
CREATE STREAM payments (user VARCHAR, amount INT)
WITH (kafka_topic = 'all_payments', value_format = 'avro');
CREDIT
SERVICE
ksqlDB
CREATE TABLE credit_scores AS
SELECT user, updateScore(p.amount) AS credit_score
FROM payments AS p
GROUP BY user
EMIT CHANGES;
RISK
SERVICE
ksqlDB
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Kafka Connect
Kafka Cluster
Salesforce CRM
Kafka Makes Your Microservices really decoupled from each other.
Mainframe
Custom
Application
3rd Party
Middleware
Java / C++ / Go /
JavaScript / ksqlDB /
etc.
Schema Registry
Event Streaming Platform
CRM Domain Payment Domain Fraud Domain
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Kafka and API Gateway / API Management
complement your Enterprise Architecture.
Orders Customers
Payments
Stock
REST
JMS
ESB
REST
CRM
Mainframe
SOAP
…
Kafka
Kafka
Kafka
API Management
HTTP
https://www.kai-waehner.de/blog/2020/05/25/api-management-gateway-apache-kafka-comparison-mulesoft-kong-apigee/
SOAP
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Kafka and API Gateway / API Management
complement your Enterprise Architecture.
(Mulesoft Whitepaper)
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Overlapping Features between Kafka and API Tools
• Protocol conversion: JSON, Avro, Protobuf, XML, …
• ETL (Extract Transform Load): Transformations, filtering,
sorting and similar tasks.
• Connectivity: Integration with back-end systems like
databases, data warehouses, data lakes, messaging
systems, business applications.
• Gateway: Routing, public endpoints, single entry point,
access control, encryption, throttling…
Separation of Concerns!
Avoid complex monoliths!
Choose the right tool for the job!
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
1. APIs
2. Event Streaming and API Tools
3. Streaming Data Exchange
4. Streaming Service Mesh
Agenda
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Streaming Data Exchange
Streaming Replication and API Management
MirrorMaker 2
Confluent Replicator
Confluent Cluster Linking
Tier 1 Mobility
Service
Streaming integration
between companies
API Management
with REST/HTTP is
not appropriate
for streaming data
OEM
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Event Streaming becomes the standard for many APIs
https://engineering.salesforce.com/how-apache-kafka-inspired-our-platform-events-architecture-2f351fe4cf63 https://medium.com/salesforce-architects/the-new-salesforce-event-bus-f82165cb0585
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Here Technologies
Majority-owned by a consortium of German automotive companies (namely Audi, BMW, Daimler) and Intel
Captures location content such as road networks, buildings, parks and traffic patterns
Sells or licenses mapping content, along with map related navigation and location services to other businesses
https://developer.here.com/documentation/data-client-library/dev_guide/client/direct-kafka.html
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Seldon
Machine Learning and Model Deployment
Kafka-native Streaming Model Server
Streams
Input Event
Prediction
Model Serving
Kafka Protocol
Streaming Communication
Streaming Application
Broker
https://www.kai-waehner.de/blog/2020/10/27/streaming-machine-learning-kafka-native-model-server-deployment-rpc-embedded-streams/
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Most API Tools (somehow) integrate with Kafka
== Streaming API Management…
31
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
32
HTTP(S)
API Management
Cluster
REST API
Client App with
HTTP Kafka Producer /
HTTP Kafka Consumer
HTTP(S)
REST API for Kafka
Workaround for the Integration of Kafka and API Management Tools
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Confluent REST API for Kafka
Workaround for the Integration of Kafka and API Management Tools
33
Self-managed
Dedicated node
.
Self-managed
Broker plugin
Managed
Confluent Cloud
Confluent
Cloud
REST
Confluent
Server
REST
Kafka
REST
Proxy
HTTP(S)
API Management
Cluster
REST API
Client App with
HTTP Kafka Producer /
HTTP Kafka Consumer
HTTP(S)
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
1. APIs
2. Event Streaming and API Tools
3. Streaming Data Exchange
4. Streaming Service Mesh
Agenda
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Service Mesh – The Next Generation API Gateway
A microservice pattern to move visibility, reliability, and security
primitives for service-to-service communication into the
infrastructure layer, out of the application layer.
https://www.infoq.com/articles/linkerd-v2-production-adoption/
35
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Service Mesh Features
• Metrics without instrumenting apps
• Trace flow of requests across services
• One stable URI for each service
• Service discovery
• Monitor request latency
• Routing - A/B testing, green/blue deployments
• Circuit breaking
• Protocol translation (HTTP, gRPC, Kafka Protocol, etc.)
• Mutual TLS (mTLS)
• SSL Termination
• Integrate with 3rd party tools like Prometheus, Grafana, Zipkin, etc.
• Much more…
Observability
“is by far the most important thing that a Proxy and the Service Mesh
provide in a distributed Microservice architecture!” Matt Klein
36
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Kafka Connect
Kafka Cluster
Salesforce CRM
Kafka and Service Mesh are complementary.
Mainframe
Custom
Application
3rd Party
Middleware
Java / C++ / Go /
JavaScript / ksqlDB /
etc.
Schema Registry
Event Streaming Platform
CRM Domain Legacy Domain Payment Domain
Proxy
Proxy
Proxy
Proxy
Proxy
Proxy
Control
Plane
37
https://www.kai-waehner.de/blog/2019/09/24/cloud-native-apache-kafka-kubernetes-envoy-istio-linkerd-service-mesh/
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Example: Kafka + Envoy + Confluent REST Proxy
Envoy
Proxy
I am using REST too!
Kafka?
Never heard of her.
I’m using REST to
talk to a service
I’m proxying
REST.
And also logging
stuff to Kafka
Confluent
REST Proxy
I only support TCP!
HTTP
HTTP
38
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Example: Kafka + Envoy Kafka Protocol Filter
Envoy
Proxy
I am using REST too!
Kafka?
Never heard of her.
I’m using REST to
talk to a service
I’m proxying
REST.
And also logging
stuff to Kafka
HTTP
TCP
(Kafka Protocol)
39
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Key Takeaways
• Agility is key for businesses in 202X.
• There is no silver bullet - choose the right APIs and technologies.
• Apache Kafka decouples (all) services, including event streams and request-response.
• A Streaming Data Exchange is the future of event-based data transfer.
40
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
The Rise of Data in Motion
à Next: A Streaming Data Exchange
2010
Apache Kafka
created at LinkedIn by
Confluent founders
2014
2020
80%
Fortune 100
Companies
trust and use
Apache Kafka
43
Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de
Car Engine Car Self-driving Car
Confluent completes Apache Kafka. Cloud-native. Everywhere.
https://www.kai-waehner.de/blog/2021/04/20/comparison-open-source-apache-kafka-vs-confluent-cloudera-red-hat-amazon-msk-cloud/
Kai Waehner
Field CTO
contact@kai-waehner.de
@KaiWaehner
www.kai-waehner.de
www.confluent.io
linkedin.com/in/kaiwaehner
Questions? Feedback?
Let’s connect!

More Related Content

What's hot

What's hot (20)

Securing Kafka
Securing Kafka Securing Kafka
Securing Kafka
 
Introduction to Kafka Streams
Introduction to Kafka StreamsIntroduction to Kafka Streams
Introduction to Kafka Streams
 
ksqlDB: A Stream-Relational Database System
ksqlDB: A Stream-Relational Database SystemksqlDB: A Stream-Relational Database System
ksqlDB: A Stream-Relational Database System
 
Integrating Apache NiFi and Apache Flink
Integrating Apache NiFi and Apache FlinkIntegrating Apache NiFi and Apache Flink
Integrating Apache NiFi and Apache Flink
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
Kafka Streams: What it is, and how to use it?
Kafka Streams: What it is, and how to use it?Kafka Streams: What it is, and how to use it?
Kafka Streams: What it is, and how to use it?
 
Terraform
TerraformTerraform
Terraform
 
Apache Kafka vs. Integration Middleware (MQ, ETL, ESB) - Friends, Enemies or ...
Apache Kafka vs. Integration Middleware (MQ, ETL, ESB) - Friends, Enemies or ...Apache Kafka vs. Integration Middleware (MQ, ETL, ESB) - Friends, Enemies or ...
Apache Kafka vs. Integration Middleware (MQ, ETL, ESB) - Friends, Enemies or ...
 
Kafka connect 101
Kafka connect 101Kafka connect 101
Kafka connect 101
 
Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps  Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps
 
Implementing zero trust in IBM Cloud Pak for Integration
Implementing zero trust in IBM Cloud Pak for IntegrationImplementing zero trust in IBM Cloud Pak for Integration
Implementing zero trust in IBM Cloud Pak for Integration
 
Introduction to Kafka connect
Introduction to Kafka connectIntroduction to Kafka connect
Introduction to Kafka connect
 
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
 
Flexible Authentication Strategies with SASL/OAUTHBEARER (Michael Kaminski, T...
Flexible Authentication Strategies with SASL/OAUTHBEARER (Michael Kaminski, T...Flexible Authentication Strategies with SASL/OAUTHBEARER (Michael Kaminski, T...
Flexible Authentication Strategies with SASL/OAUTHBEARER (Michael Kaminski, T...
 
Service Mesh - Observability
Service Mesh - ObservabilityService Mesh - Observability
Service Mesh - Observability
 
Azure DevOps CI/CD For Beginners
Azure DevOps CI/CD  For BeginnersAzure DevOps CI/CD  For Beginners
Azure DevOps CI/CD For Beginners
 
Kafka presentation
Kafka presentationKafka presentation
Kafka presentation
 
Spark (Structured) Streaming vs. Kafka Streams
Spark (Structured) Streaming vs. Kafka StreamsSpark (Structured) Streaming vs. Kafka Streams
Spark (Structured) Streaming vs. Kafka Streams
 
Kafka Connect and Streams (Concepts, Architecture, Features)
Kafka Connect and Streams (Concepts, Architecture, Features)Kafka Connect and Streams (Concepts, Architecture, Features)
Kafka Connect and Streams (Concepts, Architecture, Features)
 
Application modernization patterns with apache kafka, debezium, and kubernete...
Application modernization patterns with apache kafka, debezium, and kubernete...Application modernization patterns with apache kafka, debezium, and kubernete...
Application modernization patterns with apache kafka, debezium, and kubernete...
 

Similar to Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies? | Kai Waehner, Confluent

Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
Kai Wähner
 
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
HostedbyConfluent
 
Kappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology ComparisonKappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology Comparison
Kai Wähner
 
Mainframe Integration, Offloading and Replacement with Apache Kafka
Mainframe Integration, Offloading and Replacement with Apache KafkaMainframe Integration, Offloading and Replacement with Apache Kafka
Mainframe Integration, Offloading and Replacement with Apache Kafka
Kai Wähner
 
REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)
Sascha Wenninger
 

Similar to Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies? | Kai Waehner, Confluent (20)

IoT and Event Streaming at Scale with Apache Kafka
IoT and Event Streaming at Scale with Apache KafkaIoT and Event Streaming at Scale with Apache Kafka
IoT and Event Streaming at Scale with Apache Kafka
 
IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...
IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...
IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...
 
Supply Chain Optimization with Apache Kafka
Supply Chain Optimization with Apache KafkaSupply Chain Optimization with Apache Kafka
Supply Chain Optimization with Apache Kafka
 
Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)
Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)
Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)
 
Apache Kafka vs. Traditional Middleware (Kai Waehner, Confluent) Frankfurt 20...
Apache Kafka vs. Traditional Middleware (Kai Waehner, Confluent) Frankfurt 20...Apache Kafka vs. Traditional Middleware (Kai Waehner, Confluent) Frankfurt 20...
Apache Kafka vs. Traditional Middleware (Kai Waehner, Confluent) Frankfurt 20...
 
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and LinkerdService Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
 
Kafka: Journey from Just Another Software to Being a Critical Part of PayPal ...
Kafka: Journey from Just Another Software to Being a Critical Part of PayPal ...Kafka: Journey from Just Another Software to Being a Critical Part of PayPal ...
Kafka: Journey from Just Another Software to Being a Critical Part of PayPal ...
 
Data Warehouse vs. Data Lake vs. Data Streaming – Friends, Enemies, Frenemies?
Data Warehouse vs. Data Lake vs. Data Streaming – Friends, Enemies, Frenemies?Data Warehouse vs. Data Lake vs. Data Streaming – Friends, Enemies, Frenemies?
Data Warehouse vs. Data Lake vs. Data Streaming – Friends, Enemies, Frenemies?
 
Introduction to Apache Kafka and why it matters - Madrid
Introduction to Apache Kafka and why it matters - MadridIntroduction to Apache Kafka and why it matters - Madrid
Introduction to Apache Kafka and why it matters - Madrid
 
Can Apache Kafka Replace a Database? – The 2021 Update | Kai Waehner, Confluent
Can Apache Kafka Replace a Database? – The 2021 Update | Kai Waehner, ConfluentCan Apache Kafka Replace a Database? – The 2021 Update | Kai Waehner, Confluent
Can Apache Kafka Replace a Database? – The 2021 Update | Kai Waehner, Confluent
 
Event-Driven Model Serving: Stream Processing vs. RPC with Kafka and TensorFl...
Event-Driven Model Serving: Stream Processing vs. RPC with Kafka and TensorFl...Event-Driven Model Serving: Stream Processing vs. RPC with Kafka and TensorFl...
Event-Driven Model Serving: Stream Processing vs. RPC with Kafka and TensorFl...
 
Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
Event-Driven Stream Processing and Model Deployment with Apache Kafka, Kafka ...
 
Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...
Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...
Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...
 
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
 
Kappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology ComparisonKappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology Comparison
 
Serverless Kafka and Spark in a Multi-Cloud Lakehouse Architecture
Serverless Kafka and Spark in a Multi-Cloud Lakehouse ArchitectureServerless Kafka and Spark in a Multi-Cloud Lakehouse Architecture
Serverless Kafka and Spark in a Multi-Cloud Lakehouse Architecture
 
Mainframe Integration, Offloading and Replacement with Apache Kafka
Mainframe Integration, Offloading and Replacement with Apache KafkaMainframe Integration, Offloading and Replacement with Apache Kafka
Mainframe Integration, Offloading and Replacement with Apache Kafka
 
REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)
 
Connected Vehicles and V2X with Apache Kafka
Connected Vehicles and V2X with Apache KafkaConnected Vehicles and V2X with Apache Kafka
Connected Vehicles and V2X with Apache Kafka
 
Confluent and Elastic
Confluent and ElasticConfluent and Elastic
Confluent and Elastic
 

More from HostedbyConfluent

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
 
Evolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at TrendyolEvolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at Trendyol
HostedbyConfluent
 

More from HostedbyConfluent (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Renaming a Kafka Topic | Kafka Summit London
Renaming a Kafka Topic | Kafka Summit LondonRenaming a Kafka Topic | Kafka Summit London
Renaming a Kafka Topic | Kafka Summit London
 
Evolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at TrendyolEvolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at Trendyol
 
Ensuring Kafka Service Resilience: A Dive into Health-Checking Techniques
Ensuring Kafka Service Resilience: A Dive into Health-Checking TechniquesEnsuring Kafka Service Resilience: A Dive into Health-Checking Techniques
Ensuring Kafka Service Resilience: A Dive into Health-Checking Techniques
 
Exactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and KafkaExactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and Kafka
 
Fish Plays Pokemon | Kafka Summit London
Fish Plays Pokemon | Kafka Summit LondonFish Plays Pokemon | Kafka Summit London
Fish Plays Pokemon | Kafka Summit London
 
Tiered Storage 101 | Kafla Summit London
Tiered Storage 101 | Kafla Summit LondonTiered Storage 101 | Kafla Summit London
Tiered Storage 101 | Kafla Summit London
 
Building a Self-Service Stream Processing Portal: How And Why
Building a Self-Service Stream Processing Portal: How And WhyBuilding a Self-Service Stream Processing Portal: How And Why
Building a Self-Service Stream Processing Portal: How And Why
 
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
 
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
 
Navigating Private Network Connectivity Options for Kafka Clusters
Navigating Private Network Connectivity Options for Kafka ClustersNavigating Private Network Connectivity Options for Kafka Clusters
Navigating Private Network Connectivity Options for Kafka Clusters
 
Apache Flink: Building a Company-wide Self-service Streaming Data Platform
Apache Flink: Building a Company-wide Self-service Streaming Data PlatformApache Flink: Building a Company-wide Self-service Streaming Data Platform
Apache Flink: Building a Company-wide Self-service Streaming Data Platform
 
Explaining How Real-Time GenAI Works in a Noisy Pub
Explaining How Real-Time GenAI Works in a Noisy PubExplaining How Real-Time GenAI Works in a Noisy Pub
Explaining How Real-Time GenAI Works in a Noisy Pub
 
TL;DR Kafka Metrics | Kafka Summit London
TL;DR Kafka Metrics | Kafka Summit LondonTL;DR Kafka Metrics | Kafka Summit London
TL;DR Kafka Metrics | Kafka Summit London
 
A Window Into Your Kafka Streams Tasks | KSL
A Window Into Your Kafka Streams Tasks | KSLA Window Into Your Kafka Streams Tasks | KSL
A Window Into Your Kafka Streams Tasks | KSL
 
Mastering Kafka Producer Configs: A Guide to Optimizing Performance
Mastering Kafka Producer Configs: A Guide to Optimizing PerformanceMastering Kafka Producer Configs: A Guide to Optimizing Performance
Mastering Kafka Producer Configs: A Guide to Optimizing Performance
 
Data Contracts Management: Schema Registry and Beyond
Data Contracts Management: Schema Registry and BeyondData Contracts Management: Schema Registry and Beyond
Data Contracts Management: Schema Registry and Beyond
 
Code-First Approach: Crafting Efficient Flink Apps
Code-First Approach: Crafting Efficient Flink AppsCode-First Approach: Crafting Efficient Flink Apps
Code-First Approach: Crafting Efficient Flink Apps
 
Debezium vs. the World: An Overview of the CDC Ecosystem
Debezium vs. the World: An Overview of the CDC EcosystemDebezium vs. the World: An Overview of the CDC Ecosystem
Debezium vs. the World: An Overview of the CDC Ecosystem
 
Beyond Tiered Storage: Serverless Kafka with No Local Disks
Beyond Tiered Storage: Serverless Kafka with No Local DisksBeyond Tiered Storage: Serverless Kafka with No Local Disks
Beyond Tiered Storage: Serverless Kafka with No Local Disks
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies? | Kai Waehner, Confluent

  • 2. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de 1. APIs 2. Event Streaming and API Tools 3. Streaming Data Exchange 4. Streaming Service Mesh Agenda
  • 3. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de 1. APIs 2. Event Streaming and API Tools 3. Streaming Data Exchange 4. Streaming Service Mesh Agenda
  • 4. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de What is an API? • API = Application Programming Interface • Defines interactions between multiple software applications • Defines the calls or requests, data formats, conventions, extension mechanisms • Information hiding enables modular programming, and usage of the interface independently of the implementation • Not related to any specific technology • Not always point-to-point
  • 5. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de API Business Models 5 https://www.infoq.com/presentations/API-Business-Models/
  • 6. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de What is a Standard API? • Often powered by an organization or industry consortium • Vendor-agnostic • Slow evolution • Inflexible
  • 7. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de The Evolution of Business to Business (B2B) Communication Traditional B2B • Complex interfaces • Generic: EDI, RosettaNet, XBRL • Industry specific: Swift (Banking), PNRs (Aviation), HL7 (Healthcare), etc. • Proprietary, inflexible, limited scale, batch 7 Modern B2B • API- and data-driven • Open, flexible, agile, scalable, real-time • Valueable ecosystem and partnering
  • 8. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Electronic Data Interchange (EDI) EDI (including X12, EDIFACT, ODETTE, etc.) exists since the early 70s (until today) Electronically communicating information that was communicated on paper 8
  • 9. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de XML Schema XPath SOAP WSDL XML The World of XML-based Web Service Standards Often called “WS-* Hell” due to its complexity </XML> WS-Security WS-Addressing WS-Policy Many more… L
  • 10. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de What is an De Facto Standard API? • Originates from an existing successful solution • Driven by a single vendor or by an open community • Practical processes and rules to ensure good quality and consensus • No complex, formal, long-running standard processes
  • 11. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de == de facto standard API for OBJECT STORAGE Proprietary REST-based De Facto Standard API https://www.kai-waehner.de/blog/2021/05/09/kafka-api-de-facto-standard-event-streaming-like-amazon-s3-object-storage/
  • 12. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Is there a technology standard for APIs? 12 Use HTTP/REST for every API!
  • 13. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de 1. APIs 2. Event Streaming and API Tools 3. Streaming Data Exchange 4. Streaming Service Mesh Agenda
  • 14. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de API Communication Paradigms Request-Response • Low latency • Typically synchronous • Point-to-point • “Bespoke API” • e.g. HTTP, SOAP, gRPC, Amazon S3 14 Event Streaming • Messaging / Pub Sub (sending data from A to B and C) • Continuous data processing (filtering, transformations, aggregations, business logic) • Asynchronous with real decoupling • Event-driven, supporting patterns like Event Sourcing and CQRS • General-purpose events • e.g. Apache Kafka, Amazon Kinesis Most enterprise architectures require event streaming and request-response!
  • 15. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Open Source De Facto Standard API == de facto standard API for EVENT STREAMING https://www.kai-waehner.de/blog/2021/05/09/kafka-api-de-facto-standard-event-streaming-like-amazon-s3-object-storage/
  • 16. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de API Development Workflow 16 https://www.slideshare.net/KaiWaehner/a-new-front-for-soa-open-api-and-api-management-as-game-changer X Any API
  • 17. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de API Gateway and API Management Tools Common features: • API Portal for creating and publishing APIs • Enforcing usage policies and controlling access • Technical features for data transformations • Nurturing the subscriber community • Collecting and analyzing usage statistics • Reporting on performance • Monetization and billing 17 API == REST/HTTP for most of these products
  • 18. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Business Digitalization Trends are Driving the Need to Process Events at a whole new Scale, Speed and Efficiency The World has Changed Mobile Cloud Microservices Internet of Things Machine Learning
  • 19. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de This is a fundamental paradigm shift... 19 Infrastructure as code Data in motion as continuous streams of events Future of the datacenter Future of data Cloud Event Streaming
  • 20. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Apache Kafka is a Platform for Data in Motion REST/HTTP is not compatible with the scale and speed of Event Streaming MES ERP Sensors Mobile Customer 360 Real-time Alerting System Data warehouse Producers Consumers Streams and storage of real time events Stream processing apps Connectors Connectors Stream processing apps Supplier Alert Forecast Inventory Customer Order 20
  • 21. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Kafka Makes Your Business Real-time and Scalable. CREATE STREAM payments (user VARCHAR, amount INT) WITH (kafka_topic = 'all_payments', value_format = 'avro'); CREDIT SERVICE ksqlDB CREATE TABLE credit_scores AS SELECT user, updateScore(p.amount) AS credit_score FROM payments AS p GROUP BY user EMIT CHANGES; RISK SERVICE ksqlDB
  • 22. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Kafka Connect Kafka Cluster Salesforce CRM Kafka Makes Your Microservices really decoupled from each other. Mainframe Custom Application 3rd Party Middleware Java / C++ / Go / JavaScript / ksqlDB / etc. Schema Registry Event Streaming Platform CRM Domain Payment Domain Fraud Domain
  • 23. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Kafka and API Gateway / API Management complement your Enterprise Architecture. Orders Customers Payments Stock REST JMS ESB REST CRM Mainframe SOAP … Kafka Kafka Kafka API Management HTTP https://www.kai-waehner.de/blog/2020/05/25/api-management-gateway-apache-kafka-comparison-mulesoft-kong-apigee/ SOAP
  • 24. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Kafka and API Gateway / API Management complement your Enterprise Architecture. (Mulesoft Whitepaper)
  • 25. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Overlapping Features between Kafka and API Tools • Protocol conversion: JSON, Avro, Protobuf, XML, … • ETL (Extract Transform Load): Transformations, filtering, sorting and similar tasks. • Connectivity: Integration with back-end systems like databases, data warehouses, data lakes, messaging systems, business applications. • Gateway: Routing, public endpoints, single entry point, access control, encryption, throttling… Separation of Concerns! Avoid complex monoliths! Choose the right tool for the job!
  • 26. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de 1. APIs 2. Event Streaming and API Tools 3. Streaming Data Exchange 4. Streaming Service Mesh Agenda
  • 27. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Streaming Data Exchange Streaming Replication and API Management MirrorMaker 2 Confluent Replicator Confluent Cluster Linking Tier 1 Mobility Service Streaming integration between companies API Management with REST/HTTP is not appropriate for streaming data OEM
  • 28. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Event Streaming becomes the standard for many APIs https://engineering.salesforce.com/how-apache-kafka-inspired-our-platform-events-architecture-2f351fe4cf63 https://medium.com/salesforce-architects/the-new-salesforce-event-bus-f82165cb0585
  • 29. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Here Technologies Majority-owned by a consortium of German automotive companies (namely Audi, BMW, Daimler) and Intel Captures location content such as road networks, buildings, parks and traffic patterns Sells or licenses mapping content, along with map related navigation and location services to other businesses https://developer.here.com/documentation/data-client-library/dev_guide/client/direct-kafka.html
  • 30. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Seldon Machine Learning and Model Deployment Kafka-native Streaming Model Server Streams Input Event Prediction Model Serving Kafka Protocol Streaming Communication Streaming Application Broker https://www.kai-waehner.de/blog/2020/10/27/streaming-machine-learning-kafka-native-model-server-deployment-rpc-embedded-streams/
  • 31. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Most API Tools (somehow) integrate with Kafka == Streaming API Management… 31
  • 32. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de 32 HTTP(S) API Management Cluster REST API Client App with HTTP Kafka Producer / HTTP Kafka Consumer HTTP(S) REST API for Kafka Workaround for the Integration of Kafka and API Management Tools
  • 33. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Confluent REST API for Kafka Workaround for the Integration of Kafka and API Management Tools 33 Self-managed Dedicated node . Self-managed Broker plugin Managed Confluent Cloud Confluent Cloud REST Confluent Server REST Kafka REST Proxy HTTP(S) API Management Cluster REST API Client App with HTTP Kafka Producer / HTTP Kafka Consumer HTTP(S)
  • 34. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de 1. APIs 2. Event Streaming and API Tools 3. Streaming Data Exchange 4. Streaming Service Mesh Agenda
  • 35. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Service Mesh – The Next Generation API Gateway A microservice pattern to move visibility, reliability, and security primitives for service-to-service communication into the infrastructure layer, out of the application layer. https://www.infoq.com/articles/linkerd-v2-production-adoption/ 35
  • 36. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Service Mesh Features • Metrics without instrumenting apps • Trace flow of requests across services • One stable URI for each service • Service discovery • Monitor request latency • Routing - A/B testing, green/blue deployments • Circuit breaking • Protocol translation (HTTP, gRPC, Kafka Protocol, etc.) • Mutual TLS (mTLS) • SSL Termination • Integrate with 3rd party tools like Prometheus, Grafana, Zipkin, etc. • Much more… Observability “is by far the most important thing that a Proxy and the Service Mesh provide in a distributed Microservice architecture!” Matt Klein 36
  • 37. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Kafka Connect Kafka Cluster Salesforce CRM Kafka and Service Mesh are complementary. Mainframe Custom Application 3rd Party Middleware Java / C++ / Go / JavaScript / ksqlDB / etc. Schema Registry Event Streaming Platform CRM Domain Legacy Domain Payment Domain Proxy Proxy Proxy Proxy Proxy Proxy Control Plane 37 https://www.kai-waehner.de/blog/2019/09/24/cloud-native-apache-kafka-kubernetes-envoy-istio-linkerd-service-mesh/
  • 38. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Example: Kafka + Envoy + Confluent REST Proxy Envoy Proxy I am using REST too! Kafka? Never heard of her. I’m using REST to talk to a service I’m proxying REST. And also logging stuff to Kafka Confluent REST Proxy I only support TCP! HTTP HTTP 38
  • 39. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Example: Kafka + Envoy Kafka Protocol Filter Envoy Proxy I am using REST too! Kafka? Never heard of her. I’m using REST to talk to a service I’m proxying REST. And also logging stuff to Kafka HTTP TCP (Kafka Protocol) 39
  • 40. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Key Takeaways • Agility is key for businesses in 202X. • There is no silver bullet - choose the right APIs and technologies. • Apache Kafka decouples (all) services, including event streams and request-response. • A Streaming Data Exchange is the future of event-based data transfer. 40
  • 41. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de The Rise of Data in Motion à Next: A Streaming Data Exchange 2010 Apache Kafka created at LinkedIn by Confluent founders 2014 2020 80% Fortune 100 Companies trust and use Apache Kafka 43
  • 42. Apache Kafka and API Gateways / API Management – @KaiWaehner - www.kai-waehner.de Car Engine Car Self-driving Car Confluent completes Apache Kafka. Cloud-native. Everywhere. https://www.kai-waehner.de/blog/2021/04/20/comparison-open-source-apache-kafka-vs-confluent-cloudera-red-hat-amazon-msk-cloud/