Skip to content

Commit fd2ba00

Browse files
authored
Merge branch 'main' into support-1.14
2 parents 5a00f3a + ddcf6c0 commit fd2ba00

File tree

10 files changed

+223
-4
lines changed

10 files changed

+223
-4
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @aiven/aiven-open-source

.github/ISSUE_TEMPLATE/01_question.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: ❓ Ask a question
3+
about: Got stuck or missing something from the docs? Ask away!
4+
---
5+
6+
# What can we help you with?
7+
8+
<!-- Try to explain your question with as much detail as you can provide. -->
9+
10+
# Where would you expect to find this information?
11+
12+
<!-- Feel free to point us where with links or even proposing new sections or pages in the documentation. -->
13+

.github/ISSUE_TEMPLATE/02_bug.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: 🐜 Report a bug
3+
about: Spotted a problem? Let us know
4+
---
5+
6+
# What happened?
7+
8+
<!-- Try to be as precise as possible. If you can a small reproducer example would be great! -->
9+
10+
# What did you expect to happen?
11+
12+
<!-- Please explain what would be the expected behavior for this particular case, ideally, with examples. -->
13+
14+
# What else do we need to know?
15+
16+
<!-- Include your platform, version, and any other information that seems relevant. -->
17+

.github/ISSUE_TEMPLATE/03_feature.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: 💡 Feature suggestion
3+
about: What would make this even better?
4+
---
5+
6+
# What is currently missing?
7+
8+
<!-- Please, describe what is currently missing and why should it be present in the project. -->
9+
10+
# How could this be improved?
11+
12+
<!-- If you already know how this could be approached, please provide some brief explanation about it. -->
13+
14+
# Is this a feature you would work on yourself?
15+
16+
* [ ] I plan to open a pull request for this feature

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Aiven Security Bug Bounty
4+
url: https://hackerone.com/aiven_ltd
5+
about: Our bug bounty program.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!-- All contributors please complete these sections, including maintainers -->
2+
# About this change - What it does
3+
4+
<!-- Provide a small sentence that summarizes the change. -->
5+
6+
<!-- Provide the issue number below if it exists. -->
7+
Resolves: #xxxxx
8+
9+
# Why this way
10+
11+
<!-- Provide a small explanation on why this is the approach you took for solving this problem. -->
12+

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
opensource@aiven.io.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

CONTRIBUTING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Welcome!
2+
3+
Contributions are very welcome on Fake Data Producer For Aiven for Apache Kafka on Docker. When contributing please keep this in mind:
4+
5+
- Open an issue to discuss new bigger features.
6+
- Write code consistent with the project style and make sure the tests are passing.
7+
- Stay in touch with us if we have follow up questions or requests for further changes.
8+
9+
# Opening a PR
10+
11+
- Commit messages should describe the changes, not the filenames. Win our admiration by following
12+
the [excellent advice from Chris Beams](https://chris.beams.io/posts/git-commit/) when composing
13+
commit messages.
14+
- Choose a meaningful title for your pull request.
15+
- The pull request description should focus on what changed and why.
16+
- Check that the tests pass (and add test coverage for your changes if appropriate).

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Apache Flink pure SQL Cli Image
1+
# SQL CLI for Apache Flink® on Docker®
22

3-
This docker-compose provides a Flink SQL CLI image updated to the 1.13.2 version. It's inspired by [this](https://github.com/wuchong/flink-sql-demo/tree/v1.11-EN/sql-client).
3+
This docker-compose provides an Apache Flink® SQL CLI image updated to the 1.13.2 version. It's inspired by [this](https://github.com/wuchong/flink-sql-demo/tree/v1.11-EN/sql-client).
44

55
It makes use of the `flink:1.13.2-scala_2.12` images and of the `ftisiot/flink-sql-client:1.13.2` which is based on the same `flink:1.13.2-scala_2.12` image.
66

7-
The `sql-client` service maps a `~/kafkacerts/` folder to `/certs` which can be used to create and pass files like Keystores when SSL authentication is needed (e.g. with Apache Kafka).
7+
The `sql-client` service maps a `~/kafkacerts/` folder to `/certs` which can be used to create and pass files like Keystores when SSL authentication is needed (e.g. with Apache Kafka®).
88

99
## Usage
1010

@@ -39,6 +39,12 @@ Apache Flink Web UI is now available at `localhost:8081`
3939

4040
To Access the SQL CLI, execute
4141

42+
It could be done via one-line command
43+
```
44+
docker exec -it $(docker ps -qlf name=sql-cli-for-apache-flink-docker_sql-client) /opt/sql-client/sql-client.sh
45+
```
46+
47+
Or step by step instructions
4248
```
4349
docker ps
4450
```
@@ -61,7 +67,7 @@ docker exec -it <CONTAINER_ID> /bin/bash
6167
Finally execute
6268

6369
```
64-
./sql-cli.sh
70+
./sql-client.sh
6571
```
6672

6773
This will popup Flink sql cli
@@ -116,3 +122,7 @@ Command history file path: /root/.flink-sql-history
116122
117123
Flink SQL>
118124
```
125+
126+
## Trademarks
127+
128+
Apache Kafka, Apache Flink are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.. Aiven has no affiliation with and is not endorsed by The Apache Software Foundation. Docker is a trademark and property of their respective owners. All product and service names used in this website are for identification purposes only and do not imply endorsement.

sql-client/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ COPY bin/* /opt/sql-client/
2828
RUN mkdir -p /opt/sql-client/lib
2929

3030
# Download connector libraries
31+
3132
RUN wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-elasticsearch7_2.12/1.14.3/flink-sql-connector-elasticsearch7_2.12-1.14.3.jar \
3233
wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-kafka_2.12/1.14.3/flink-sql-connector-kafka_2.12-1.14.3.jar; \
3334
wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-connector-jdbc_2.12/1.14.3/flink-connector-jdbc_2.12-1.14.3.jar; \

0 commit comments

Comments
 (0)