-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from quixio/dev
Docs Release 2023-04-003
- Loading branch information
Showing
57 changed files
with
440 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Running docs locally | ||
|
||
The following is only required if you are part of the Quix technical writing team, or you contribute frequently, and want to check your docs PR locally before pushing up to the docs repo. Otherwise, the simplest approach is to refer to the [docs preview site](./README.md#docs-preview-site) that is created automatically for you, when you push up a PR on the `dev` branch. | ||
|
||
## Prerequisites | ||
|
||
To run these docs locally you'll need: | ||
|
||
* [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) | ||
* Sign up to the [Insiders Programme](https://squidfunk.github.io/mkdocs-material/insiders/), if you want to see all features rendered locally. | ||
* A Git client (the command line is fine). | ||
|
||
## Plugins used | ||
|
||
If you want to fully render all documentation locally you need to install the following plugins with `pip install`: | ||
|
||
* [glightbox](https://pypi.org/project/mkdocs-glightbox/0.1.0/) | ||
* [multirepo](https://pypi.org/project/mkdocs-multirepo/) | ||
* [redirects](https://pypi.org/project/mkdocs-redirects/) | ||
|
||
You also need to sign up to the [Insiders Programme](https://squidfunk.github.io/mkdocs-material/insiders/). | ||
|
||
The [social plugin](https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/) is also used to automatically provide metadata. See the [social plugin documentation](https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/) for details on how to install the dependencies of the plugin. You might also need to first install `cffi` with `pip install cffi`, if not present on your system. | ||
|
||
## Linked repositories | ||
|
||
This repo uses the `multirepo` plugin to pull in client library content from the [Quix Streams repo](https://github.com/quixio/quix-streams). | ||
|
||
You can read more about Quix Streams [here](https://github.com/quixio/quix-streams/blob/main/README.md). | ||
|
||
## Viewing the docs | ||
|
||
To view the docs locally: | ||
|
||
1. Follow the install guide for Material [here](https://squidfunk.github.io/mkdocs-material/getting-started/). | ||
2. Clone the repo as follows: | ||
|
||
``` | ||
git clone https://github.com/quixio/quix-docs.git | ||
``` | ||
3. Change into the docs directory you cloned (there will be a `mkdocs.yml` file there). | ||
4. Run `mkdocs serve`. | ||
5. Navigate your browser to `localhost:8000` to view the docs. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# How to replay data | ||
|
||
Quix Platform features a **replay service**. This service allows you to replay persisted data into a topic, as if it were live data. This is very useful for the following use cases: | ||
|
||
* Testing and debugging connectors and transforms | ||
* [Stream reprocessing](https://quix.io/blog/intro-stream-reprocessing-python/?x-craft-preview=VDVjwJTquq&token=7oGSdC9yxYk0zECNUz2RtzJLtGqG-aZB){target=_blank} | ||
* Testing and retraining ML models | ||
|
||
Once you have persisted data, it is possible to set up a replay service in your pipeline. Rather than using the live source of data, you can replay the persisted data into a topic in your pipeline, and monitor the processing. | ||
|
||
It is possible to configure the replay in various ways, for example: | ||
|
||
* You can edit the destination topic. This means you can play back the same persisted data into different topics for testing and debugging. | ||
* You can replay the data at the original speed or at maximum speed. | ||
* You can replay the data with either the original timestamps, or simulated timestamps. The simulated timestamps are based on present time, rather than the original timestamps. | ||
|
||
Once created, a replay service looks like any other service in your pipeline, and you can play or pause the streaming of data as required. | ||
|
||
## To replay persisted data into a topic | ||
|
||
You can only replay persisted data, so you need to persist a topic first. In your Quix workspace, select `Topics` in the left-hand sidebar to list all your topics. Ensure the topic you want to persist has persistence switched on, as shown in the following screenshot: | ||
|
||
 | ||
|
||
Click `Pipeline` in your Quix workspace, and then to create a new replay, click `Add new` in the top right corner: | ||
|
||
 | ||
|
||
Then select the `Replay` menu item. This displays the `Add replay` wizard. | ||
|
||
Select the topic with persisted data you want to replay from (only topics with persisted data will be shown), then select the stream whose data you want to replay: | ||
|
||
 | ||
|
||
Then click `Next`. | ||
|
||
Now configure your replay according to your use case. For example, you can retain the data’s original timestamps, or select simulated timestamps for timestamps based on the present time. You also need to select the output topic (the topic the data is played into): | ||
|
||
 | ||
|
||
Once you have completed your configuration, click `Add replay`. | ||
|
||
Switch to `Pipeline` view. The replay is created as a service in your pipeline. The service may take some time to load. You can then replay data into your pipeline using the play/pause control, as if it were live data: | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.