-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KSQL-1786: First draft of KSQL and KStreams topic [WIP] #2142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @JimGalasyn . Left a few comments.
###################### | ||
|
||
KSQL is the streaming SQL engine for Apache Kafka®. With KSQL, you can write | ||
real-time applications by using a SQL-like query language. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change real-time
with streaming
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or if you wanna keep real-time use real-time streaming
.
KSQL is the streaming SQL engine for Apache Kafka®. With KSQL, you can write | ||
real-time applications by using a SQL-like query language. | ||
|
||
Kafka Streams is the Apache Kafka® library for writing real-time applications |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, streaming
.
|
||
.. image:: ../img/ksql-kafka-streams-core-kafka-stack.png | ||
|
||
KSQL gives you the highest level of abstraction for implementing real-time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again use real-time streaming
or streaming
instead of only real-time
.
that's required for real-time operations on streams of data, so that one line | ||
of KSQL can do the work of a dozen lines of Java and Kafka Streams. | ||
|
||
For example, to implement fraud-detection logic on a Kafka topic named |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe reword it so it shows that we know this is a very simple fraud detection
approach!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also you may want to include the function for fraud probability in the query. Maybe something like this:
CREATE STREAM fraudulent_payments AS SELECT fraudProbability( data) FROM payments WHERE fraudProbability( data) > 0.8;
} | ||
|
||
KSQL is easier to use, and Kafka Streams is more flexible. Which technology | ||
you choose for your real-time applications depends on a number of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
real-time streaming
| from Python, Go, C#, JavaScript, shell | | | ||
+----------------------------------------------------+------------------------------------------------------+ | ||
|
||
KSQL is usually not a good fit for BI reports and ad-hoc querying, or queries with random access patterns. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add the following:
KSQL is usually not a good fit for BI reports and ad-hoc querying, or queries with random access patterns since it's a continuous query system on data streams.
No description provided.