You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-11Lines changed: 1 addition & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,6 @@
4
4
5
5
# Contributing
6
6
7
-
Proton is an open project, and you can contribute to it in many ways. You can help with ideas, code, or documentation. We appreciate any efforts that help us to make the project better. If you are looking for issues to work on, try looking at [the issue list](https://github.com/timeplus-io/proton/issues).
7
+
Proton is an open project, and you can contribute to it in many ways. This is the Rust client for Proton. You can help with ideas, code, or documentation. We appreciate any efforts that help us to make the project better.
8
8
9
9
Thank you!
10
-
11
-
## Legal Info
12
-
13
-
When you open your first pull-request to Proton repo, a bot will invite you to accept Proton Individual CLA (Contributor License Agreement). It is a simple few click process. For subsequent pull-requests the bot will check if you have already signed it and won't bother you again.
14
-
15
-
## Technical Info
16
-
17
-
Please follow the Proton code convention (TODO) and [Clickhouse coding style](https://clickhouse.com/docs/en/development/style) and write unit test / integration testing (TODO). See [build from source](BUILD.md) for how to compile Proton in different platforms. Besides this guide, you can find [Overview of Proton Architecture](https://docs.timeplus.com/proton-architecture)
18
-
19
-
If you want to contribute to documentation, please submit PR to https://github.com/timeplus-io/docs.
Copy file name to clipboardExpand all lines: Handover.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
[//]: #(SPDX-License-Identifier: Apache-2.0)
3
3
[//]: #(---)
4
4
5
-
# Handover
5
+
# Handover
6
6
7
7
Suggested steps to do after the repo transfer:
8
8
9
-
## Add the active maintainer
9
+
## Add the active maintainer
10
10
11
11
Add the new / active maintainer to the following files: MAINTAINERS.md, CODEOWNERS, and CONTRIBUTING.md.
12
12
@@ -16,7 +16,7 @@ Add the new / active maintainer to the following files: MAINTAINERS.md, CODEOWNE
16
16
17
17
## Verify CI / Github actions:
18
18
19
-
Currently, all GH actions trigger on pull request, unless stated otherwise, assuming[ branch protection is in place](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches) (as it should).
19
+
Currently, all GH actions trigger on pull request, unless stated otherwise, assuming[ branch protection is in place](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches) (as it should).
20
20
21
21
The following GH actions are pre-configured:
22
22
@@ -37,8 +37,8 @@ Rust packages are published to the crates.io registry. To do so, the following s
37
37
1) Ensure all changes are comited and pushed to origin. This is important otherwise publish will abort.
38
38
2) Verify the pre-defined meta data in Cargo.toml. Repo & homepage is already set to https://github.com/timeplus-io/proton-rust-client
39
39
3) Create a free account on https://crates.io/
40
-
4) Create an API token in the dashboard
41
-
5) Login locally, from a terminal: ```cargo login``` Then at the prompt put in the token specified.
40
+
4) Create an API token on https://crates.io/settings/tokens
41
+
5) Login locally, from a terminal: ```cargo login``` Then at the prompt put in the token specified.
42
42
6) Conduct a dry run to see if everything is correct: ```cargo publish --dry-run```
43
43
7) When the dry run completes without error, publish the first version: ```cargo publish```
Maintainers are actively supporting the project and have made substantial contributions to the repository. They have admin access to the repo and provide support reviewing issues and pull requests.
12
12
13
-
-
13
+
-[marvin-hansen](https://github.com/marvin-hansen) Marvin Hansen: Wrote the initial version of the client up to version 0.1.0.
14
+
-[jovezhong](https://github.com/jovezhong) Jove Zhong: Work with Marvin to maintain this client under [Timeplus GitHub Org](https://github.com/timeplus-io).
14
15
15
16
Contributors (sorted alphabetically)
16
17
-------------------------------------
17
18
18
-
-[marvin-hansen](https://github.com/marvin-hansen) Marvin Hansen: Wrote the initial version of the client up to version 0.1.0.
19
+
-
19
20
20
-
To contributors: please add your name to the list when you submit a patch to the project.
21
+
To contributors: please add your name to the list when you submit a patch to the project.
Copy file name to clipboardExpand all lines: README.md
+28-24Lines changed: 28 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,38 @@
2
2
[//]: #(SPDX-License-Identifier: Apache-2.0)
3
3
[//]: #(---)
4
4
5
-
# Rust Client for Proton SQL Streaming Engine
6
-
7
-
Rust client for [Proton / TimePlus]([url](https://www.timeplus.com/)https://www.timeplus.com/).
5
+
# Rust Client for Proton
6
+
7
+
Rust client for [Timeplus Proton](https://github.com/timeplus-io/proton).
8
8
9
9
Proton is a streaming SQL engine, a fast and lightweight alternative to Apache Flink, 🚀 powered by ClickHouse. It enables developers to solve streaming data processing, routing and analytics challenges from Apache Kafka, Redpanda and more sources, and send aggregated data to the downstream systems. Proton is the core engine of [Timeplus](https://timeplus.com), which is a cloud native streaming analytics platform.
10
10
11
+
The initial version(0.1.0) of the client was written by [Marvin Hansen](https://github.com/marvin-hansen). Thanks for the contribution.
11
12
12
-
## Install proton
13
+
This client uses https://crates.io/crates/clickhouse as a dependency.
13
14
14
-
```
15
-
brew install proton
16
-
```
15
+
## Install Proton
16
+
17
+
### As a single binary
17
18
18
-
1. Start the Proton server:
19
-
$ proton server start
19
+
On Linux or Mac, you can install it via `curl https://install.timeplus.com | sh`
20
20
21
-
2. In a separate terminal, connect to the server:
22
-
$ proton client
23
-
(Note: If you encounter a 'connection refused' error, use: proton client --host 127.0.0.1)
21
+
On Mac, you can also install it via `brew install proton`
24
22
25
-
3. To terminate the server, press ctrl+c in the server terminal.
23
+
After you get the `proton` binary, you can start the Proton server via `proton server start`
26
24
27
-
For detailed usage and more information, check out the Timeplus documentation:
28
-
https://docs.timeplus.com/
25
+
In a separate terminal, connect to the server via `proton client` (Note: If you encounter a 'connection refused' error, use: proton client --host 127.0.0.1)
26
+
27
+
### As a Docker container
28
+
29
+
```bash
30
+
docker run -d --pull always --name proton ghcr.io/timeplus-io/proton:latest
31
+
```
32
+
33
+
Proton is automatically started. Open the terminal of the container, and run `proton client`
34
+
35
+
36
+
For detailed usage and more information, check out the documentation: https://docs.timeplus.com/proton
29
37
30
38
31
39
## Install ProtonClient
@@ -34,7 +42,7 @@ Add the following to your Cargo.toml:
To see more examples of using Proton, check out the [examples](examples) folder.
98
+
To see more examples of using Proton, check out the [examples](https://github.com/timeplus-io/proton/tree/develop/examples) folder in Proton repo.
91
99
92
-
Check out the proton [documentation on the SQL Query syntax](https://docs.timeplus.com/query-syntax).
100
+
Please note, by default the SQL queries are in streaming mode. Learn more about SQL syntax at [Proton Documentation](https://docs.timeplus.com/query-syntax).
93
101
94
102
95
103
## Documentation
96
104
97
105
You find the full documentation for Proton at [docs.timeplus.com](https://docs.timeplus.com/proton) alongside documentation for the Timeplus (Cloud and BYOC) platform.
98
106
99
-
We also have a [FAQ](https://docs.timeplus.com/proton-faq/) for detailing how we chose Apache License 2.0, how Proton is related to ClickHouse, what features are available in Proton versus Timeplus, and more.
100
-
101
-
102
107
## Contributing
103
108
104
-
We welcome your contributions! If you are looking for issues to work on, try looking at [the issue list](FIXLINK).
109
+
We welcome your contributions!
105
110
106
111
## Need help?
107
112
108
113
Join our [Timeplus Community Slack](https://timeplus.com/slack) to connect with Timeplus engineers and other Proton users.
109
114
110
-
For filing bugs, suggesting improvements, or requesting new features, see the [open issues](FIXLINK) here on GitHub.
115
+
For filing bugs, suggesting improvements, or requesting new features, see the [open issues](https://github.com/timeplus-io/proton-rust-client/issues) here on GitHub.
111
116
112
117
## Licensing
113
118
114
119
Proton Rust Client uses Apache License 2.0. See details in the [LICENSE](LICENSE).
Copy file name to clipboardExpand all lines: examples/README_EXAMPLES.md
+19-15Lines changed: 19 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,30 @@
1
1
2
2
3
-
# Examples for Rust Client for Proton
4
-
3
+
# Examples for Rust Client for Proton
5
4
6
-
## Install proton
7
5
8
-
```
9
-
brew install proton
10
-
```
6
+
## Install Proton
7
+
8
+
### As a single binary
9
+
10
+
On Linux or Mac, you can install it via `curl https://install.timeplus.com | sh`
11
+
12
+
On Mac, you can also install it via `brew install proton`
11
13
12
-
1. Start the Proton server:
13
-
$ proton server start
14
+
After you get the `proton` binary, you can start the Proton server via `proton server start`
14
15
15
-
2. In a separate terminal, connect to the server:
16
-
$ proton client
17
-
(Note: If you encounter a 'connection refused' error, use: proton client --host 127.0.0.1)
16
+
In a separate terminal, connect to the server via `proton client` (Note: If you encounter a 'connection refused' error, use: proton client --host 127.0.0.1)
18
17
19
-
3. To terminate the server, press ctrl+c in the server terminal.
18
+
### As a Docker container
19
+
20
+
```bash
21
+
docker run -d --pull always --name proton ghcr.io/timeplus-io/proton:latest
22
+
```
23
+
24
+
Proton is automatically started. Open the terminal of the container, and run `proton client`
20
25
21
-
For detailed usage and more information, check out the Timeplus documentation:
22
-
https://docs.timeplus.com/
26
+
27
+
For detailed usage and more information, check out the documentation: https://docs.timeplus.com/proton
0 commit comments