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

[POC] KLIP-15-based JavaScript client and example app #12

Open
wants to merge 11 commits into
base: api_client_proto
Choose a base branch
from

Conversation

colinhicks
Copy link

@colinhicks colinhicks commented Dec 12, 2019

Description

Provides a JS (TypeScript) implementation of the wire protocol and client semantics proposed in KLIP-15. The client works in Node.js and browser runtimes.

The goals of this exercise are to:

  1. Demonstrate a non-Java impl of KLIP-15's novel wire protocol.
  2. Consider the ideal client API for consuming streaming queries in JavaScript.
  3. Take the perspective of a front-end developer building a web app powered by ksqlDB.

See this thread for reflections on these goals.

The included example ports the KLIP's ksql-real-app to a single-page web app:
shopping-cart

See the README for information on how to run the example.

File structure

  • ksqldb-js-client/packages/client/src/: The client and protocol implementation
  • ksqldb-js-client/packages/shopping-cart-example/src/: React-based example app

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.

1 participant