Skip to content
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

Merged
merged 4 commits into from
Nov 16, 2018
Merged

KSQL-1786: First draft of KSQL and KStreams topic [WIP] #2142

merged 4 commits into from
Nov 16, 2018

Conversation

JimGalasyn
Copy link
Member

No description provided.

Copy link
Contributor

@hjafarpour hjafarpour left a 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.
Copy link
Contributor

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.

Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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!

Copy link
Contributor

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
Copy link
Contributor

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.
Copy link
Contributor

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.

@JimGalasyn JimGalasyn requested review from joel-hamill and a team November 16, 2018 00:09
@JimGalasyn JimGalasyn merged commit 4347486 into confluentinc:5.0.0-post Nov 16, 2018
@JimGalasyn JimGalasyn deleted the ksql-1786 branch November 16, 2018 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants