From 7b38d43fbb78ef7f7c0a31dfaabdf681012d0555 Mon Sep 17 00:00:00 2001
From: Victoria Bialas Duality of
An example use case that is very common in practice is an e-commerce application that enriches an incoming stream of customer
transactions with the latest customer information from a database table. In other words, streams are everywhere, but databases are everywhere, too.
Any stream processing technology must therefore provide first-class support for streams and tables.
- Kafka's Streams API provides such functionality through its core abstractions for
- streams <streams_concepts_kstream> and
- tables <streams_concepts_ktable>, which we will talk about in a minute.
- Now, an interesting observation is that there is actually a close relationship between streams and tables,
- the so-called stream-table duality.
- And Kafka exploits this duality in many ways: for example, to make your applications
+ Kafka's Streams API provides such functionality through its core abstractions for
+ streams
+ <streams_concepts_kstreams>
+ and tables
+ <streams_concepts_kstreams>,
+ which we will talk about in a minute. Now, an interesting observation is that there is actually a close relationship between streams and tables,
+ the so-called stream-table duality. And Kafka exploits this duality in many ways: for example, to make your applications
+ elastic
elastic <streams_developer-guide_execution-scaling>,
- to support fault-tolerant stateful processing <streams_developer-guide_state-store_fault-tolerance>,
- or to run interactive queries <streams_concepts_interactive-queries>
+ to support fault-tolerant stateful processing
+ <streams_developer-guide_state-store_fault-tolerance>,
+ or to run interactive queries
+ <streams_concepts_interactive-queries>
against your application's latest processing results. And, beyond its internal usage, the Kafka Streams API
also allows developers to exploit this duality in their own applications.
- Before we discuss concepts such as aggregations <streams_concepts_aggregations>
+ Before we discuss concepts such as aggregations
+ <streams_concepts_aggregations>,
in Kafka Streams we must first introduce tables in more detail, and talk about the aforementioned stream-table duality.
Essentially, this duality means that a stream can be viewed as a table, and a table can be viewed as a stream.
Kafka Streams makes your stream processing applications elastic and scalable. You can add and remove processing capacity dynamically during application runtime without any downtime or data loss. This makes your applications resilient in the face of failures and for allows you to perform maintenance as needed (e.g. rolling upgrades).
From dd1eea73a65e20c367ef5b60bd2f66440722dfab Mon Sep 17 00:00:00 2001 From: Victoria Bialas
Any stream processing technology must therefore provide first-class support for streams and tables.
From 4ace72ffe1504762e555acfe298583ed1b5d63e3 Mon Sep 17 00:00:00 2001
From: Victoria Bialas
We first summarize the key concepts of Kafka Streams.
We first summarize the key concepts of Kafka Streams.
Any stream processing technology must therefore provide first-class support for streams and tables.
- Kafka's Streams API provides such functionality through its core abstractions for
-
- Before we discuss concepts such as
We first summarize the key concepts of Kafka Streams.
Any stream processing technology must therefore provide first-class support for streams and tables.
- Kafka's Streams API provides such functionality through its core abstractions for
-
- Before we discuss concepts such as
We first summarize the key concepts of Kafka Streams.
A stream processor is a node in the processor topology that represents a single processing step.
+ A stream processor is a node in the processor topology that represents a single processing step.
With the Processor API, you can define arbitrary stream processors that processes one received record at a time, and connect
these processors with their associated state stores to compose the processor topology. You can define a customized stream processor by implementing the
We first summarize the key concepts of Kafka Streams.
A stream processor is a node in the processor topology that represents a single processing step.
+ A stream processor is a node in the processor topology that represents a single processing step.
With the Processor API, you can define arbitrary stream processors that processes one received record at a time, and connect
these processors with their associated state stores to compose the processor topology. You can define a customized stream processor by implementing the
Before we discuss concepts such as aggregations
- Stream Processing Topology
There are two special processors in the topology:
From beeabda7ccb10055ff992bd00673c5c781faf82c Mon Sep 17 00:00:00 2001
From: Victoria Bialas Core Concepts
Stream Processing Topology
-
From ded5ab04d9effb47b9ec6d9d0a1b0f22bead982f Mon Sep 17 00:00:00 2001
From: Victoria Bialas Core Concepts
Stream Processing Topology
There are two special processors in the topology:
@@ -160,21 +160,26 @@ Duality of
streams <streams_concepts_kstream> and
- tables <streams_concepts_ktable>, which we will talk about in a minute.
- Now, an interesting observation is that there is actually a close relationship between streams and tables,
- the so-called stream-table duality.
- And Kafka exploits this duality in many ways: for example, to make your applications
+ Kafka's Streams API provides such functionality through its core abstractions for
+ streams
+ <streams_concepts_kstreams>
+ and tables
+ <streams_concepts_kstreams>,
+ which we will talk about in a minute. Now, an interesting observation is that there is actually a close relationship between streams and tables,
+ the so-called stream-table duality. And Kafka exploits this duality in many ways: for example, to make your applications
+ elastic
elastic <streams_developer-guide_execution-scaling>,
- to support fault-tolerant stateful processing <streams_developer-guide_state-store_fault-tolerance>,
- or to run interactive queries <streams_concepts_interactive-queries>
+ to support fault-tolerant stateful processing
+ <streams_developer-guide_state-store_fault-tolerance>,
+ or to run interactive queries
+ <streams_concepts_interactive-queries>
against your application's latest processing results. And, beyond its internal usage, the Kafka Streams API
also allows developers to exploit this duality in their own applications.
aggregations <streams_concepts_aggregations>
+ Before we discuss concepts such as aggregations
+ <streams_concepts_aggregations>,
in Kafka Streams we must first introduce tables in more detail, and talk about the aforementioned stream-table duality.
Essentially, this duality means that a stream can be viewed as a table, and a table can be viewed as a stream.
Core Concepts
Stream Processing Topology
There are two special processors in the topology:
@@ -160,21 +161,26 @@ Duality of
streams <streams_concepts_kstream> and
- tables <streams_concepts_ktable>, which we will talk about in a minute.
- Now, an interesting observation is that there is actually a close relationship between streams and tables,
- the so-called stream-table duality.
- And Kafka exploits this duality in many ways: for example, to make your applications
+ Kafka's Streams API provides such functionality through its core abstractions for
+ streams
+ <streams_concepts_kstreams>
+ and tables
+ <streams_concepts_kstreams>,
+ which we will talk about in a minute. Now, an interesting observation is that there is actually a close relationship between streams and tables,
+ the so-called stream-table duality. And Kafka exploits this duality in many ways: for example, to make your applications
+ elastic
elastic <streams_developer-guide_execution-scaling>,
- to support fault-tolerant stateful processing <streams_developer-guide_state-store_fault-tolerance>,
- or to run interactive queries <streams_concepts_interactive-queries>
+ to support fault-tolerant stateful processing
+ <streams_developer-guide_state-store_fault-tolerance>,
+ or to run interactive queries
+ <streams_concepts_interactive-queries>
against your application's latest processing results. And, beyond its internal usage, the Kafka Streams API
also allows developers to exploit this duality in their own applications.
aggregations <streams_concepts_aggregations>
+ Before we discuss concepts such as aggregations
+ <streams_concepts_aggregations>,
in Kafka Streams we must first introduce tables in more detail, and talk about the aforementioned stream-table duality.
Essentially, this duality means that a stream can be viewed as a table, and a table can be viewed as a stream.
Core Concepts
Stream Processing Topology
There are two special processors in the topology:
diff --git a/10/streams/developer-guide/processor-api.html b/10/streams/developer-guide/processor-api.html
index fdf6c86b4cd..1e1df6502df 100644
--- a/10/streams/developer-guide/processor-api.html
+++ b/10/streams/developer-guide/processor-api.html
@@ -66,7 +66,7 @@ Overview
Defining a Stream Processor
- Processor interface, which provides the process() API method.
diff --git a/11/streams/core-concepts.html b/11/streams/core-concepts.html
index 473a268b7a5..bd930de910a 100644
--- a/11/streams/core-concepts.html
+++ b/11/streams/core-concepts.html
@@ -57,13 +57,14 @@ Core Concepts
Stream Processing Topology
-
+
There are two special processors in the topology:
diff --git a/11/streams/developer-guide/processor-api.html b/11/streams/developer-guide/processor-api.html
index fdf6c86b4cd..1e1df6502df 100644
--- a/11/streams/developer-guide/processor-api.html
+++ b/11/streams/developer-guide/processor-api.html
@@ -66,7 +66,7 @@ Overview
Defining a Stream Processor
- Processor interface, which provides the process() API method.
From eb6b222a764605b796f660f4f7112a101e262c42 Mon Sep 17 00:00:00 2001
From: Victoria Bialas Duality of
Any stream processing technology must therefore provide first-class support for streams and tables.
Kafka's Streams API provides such functionality through its core abstractions for
streams
-
<streams_concepts_kstreams>
- and tables
- <streams_concepts_kstreams>,
+ and tables,
which we will talk about in a minute. Now, an interesting observation is that there is actually a close relationship between streams and tables,
the so-called stream-table duality. And Kafka exploits this duality in many ways: for example, to make your applications
- elastic
- elastic <streams_developer-guide_execution-scaling>,
- to support fault-tolerant stateful processing
- <streams_developer-guide_state-store_fault-tolerance>,
+ elastic,
+ to support fault-tolerant stateful processing,
or to run interactive queries
- <streams_concepts_interactive-queries>
against your application's latest processing results. And, beyond its internal usage, the Kafka Streams API
also allows developers to exploit this duality in their own applications.
<streams_concepts_aggregations>,
- in Kafka Streams we must first introduce tables in more detail, and talk about the aforementioned stream-table duality.
+ in Kafka Streams, we must first introduce tables in more detail, and talk about the aforementioned stream-table duality.
Essentially, this duality means that a stream can be viewed as a table, and a table can be viewed as a stream.
Duality of
Any stream processing technology must therefore provide first-class support for streams and tables.
Kafka's Streams API provides such functionality through its core abstractions for
streams
-
<streams_concepts_kstreams>
- and tables
- <streams_concepts_kstreams>,
+ and tables,
which we will talk about in a minute. Now, an interesting observation is that there is actually a close relationship between streams and tables,
the so-called stream-table duality. And Kafka exploits this duality in many ways: for example, to make your applications
- elastic
- elastic <streams_developer-guide_execution-scaling>,
- to support fault-tolerant stateful processing
- <streams_developer-guide_state-store_fault-tolerance>,
+ elastic,
+ to support fault-tolerant stateful processing,
or to run interactive queries
- <streams_concepts_interactive-queries>
against your application's latest processing results. And, beyond its internal usage, the Kafka Streams API
also allows developers to exploit this duality in their own applications.
Before we discuss concepts such as aggregations
- <streams_concepts_aggregations>,
- in Kafka Streams we must first introduce tables in more detail, and talk about the aforementioned stream-table duality.
+ in Kafka Streams, we must first introduce tables in more detail, and talk about the aforementioned stream-table duality.
Essentially, this duality means that a stream can be viewed as a table, and a table can be viewed as a stream.