Skip to content

Commit ed986c9

Browse files
feat(license): optimize the license, make it clearer for developer (#1682)
* feat(License): Optimize the License. #1666 * feat(License): Optimize the License. #1666 * feat(License): update to the new copyright content Signed-off-by: daniel-y <[email protected]> * fix(build): include the right license files in the tgz Signed-off-by: daniel-y <[email protected]> --------- Signed-off-by: daniel-y <[email protected]> Co-authored-by: Xiaorui <[email protected]>
1 parent 393b0d3 commit ed986c9

File tree

542 files changed

+1200
-1186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

542 files changed

+1200
-1186
lines changed

.idea/copyright/BSL.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Copyright (c) 2023-2024 AutoMQ HK Limited.
2+
3+
this software are licensed as follows:
4+
5+
1. Apache Kafka Source and Dependency Licensing:
6+
All code in this repository that is forked from Apache Kafka and its
7+
dependencies will continue to be licensed under the original Apache Kafka
8+
open source license. For detailed licensing information regarding Apache
9+
Kafka and its dependencies, please refer to the files under the "/licenses/"
10+
folder in this repository.
11+
12+
2. S3Stream Component Licensing:
13+
The S3Stream component added to this project (specifically referring to all
14+
files under the "/S3Stream/" directory) is licensed under a revised Business
15+
Source License (BSL) by AutoMQ HK Limited, with the specific terms available
16+
in the /LICENSE.S3Stream file in this repository. Any dependencies used by
17+
the S3Stream component are subject to their respective open source licenses.
18+
19+
3. File-Level License Precedence:
20+
For each file in this repository, if the license is explicitly specified in
21+
the header of the file, the license stated in the file header shall prevail.
22+
23+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29+
SOFTWARE.

LICENSE.S3Stream

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
License text copyright © 2023 MariaDB plc, All Rights Reserved.
2+
"Business Source License" is a trademark of MariaDB plc.
3+
4+
5+
Parameters
6+
7+
Licensor: AutoMQ HK Limited.
8+
Licensed Work: AutoMQ Version 1.1.2 or later. The Licensed Work is (c) 2024
9+
AutoMQ HK Limited.
10+
Additional Use Grant: You may make production use of the Licensed Work, provided
11+
Your use does not include offering the Licensed Work to third
12+
parties on a hosted or embedded basis in order to compete with
13+
AutoMQ's paid version(s) of the Licensed Work. For purposes
14+
of this license:
15+
16+
A "competitive offering" is a Product that is offered to third
17+
parties on a paid basis, including through paid support
18+
arrangements, that significantly overlaps with the capabilities
19+
of AutoMQ's paid version(s) of the Licensed Work. If Your
20+
Product is not a competitive offering when You first make it
21+
generally available, it will not become a competitive offering
22+
later due to AutoMQ releasing a new version of the Licensed
23+
Work with additional capabilities. In addition, Products that
24+
are not provided on a paid basis are not competitive.
25+
26+
"Product" means software that is offered to end users to manage
27+
in their own environments or offered as a service on a hosted
28+
basis.
29+
30+
"Embedded" means including the source code or executable code
31+
from the Licensed Work in a competitive offering. "Embedded"
32+
also means packaging the competitive offering in such a way
33+
that the Licensed Work must be accessed or downloaded for the
34+
competitive offering to operate.
35+
36+
Hosting or using the Licensed Work(s) for internal purposes
37+
within an organization is not considered a competitive
38+
offering. AutoMQ considers your organization to include all
39+
of your affiliates under common control.
40+
41+
For binding interpretive guidance on using AutoMQ products
42+
under the Business Source License, please visit our FAQ.
43+
(https://www.automq.com/license-faq)
44+
Change Date: Change date is four years from release date.
45+
Please see https://github.com/AutoMQ/automq/releases for exact dates
46+
Change License: Apache License, Version 2.0
47+
URL: https://www.apache.org/licenses/LICENSE-2.0
48+
49+
50+
For information about alternative licensing arrangements for the Licensed Work,
51+
please contact [email protected].
52+
53+
Notice
54+
55+
Business Source License 1.1
56+
57+
Terms
58+
59+
The Licensor hereby grants you the right to copy, modify, create derivative
60+
works, redistribute, and make non-production use of the Licensed Work. The
61+
Licensor may make an Additional Use Grant, above, permitting limited production use.
62+
63+
Effective on the Change Date, or the fourth anniversary of the first publicly
64+
available distribution of a specific version of the Licensed Work under this
65+
License, whichever comes first, the Licensor hereby grants you rights under
66+
the terms of the Change License, and the rights granted in the paragraph
67+
above terminate.
68+
69+
If your use of the Licensed Work does not comply with the requirements
70+
currently in effect as described in this License, you must purchase a
71+
commercial license from the Licensor, its affiliated entities, or authorized
72+
resellers, or you must refrain from using the Licensed Work.
73+
74+
All copies of the original and modified Licensed Work, and derivative works
75+
of the Licensed Work, are subject to this License. This License applies
76+
separately for each version of the Licensed Work and the Change Date may vary
77+
for each version of the Licensed Work released by Licensor.
78+
79+
You must conspicuously display this License on each original or modified copy
80+
of the Licensed Work. If you receive the Licensed Work in original or
81+
modified form from a third party, the terms and conditions set forth in this
82+
License apply to your use of that work.
83+
84+
Any use of the Licensed Work in violation of this License will automatically
85+
terminate your rights under this License for the current and all other
86+
versions of the Licensed Work.
87+
88+
This License does not grant you any right in any trademark or logo of
89+
Licensor or its affiliates (provided that you may use a trademark or logo of
90+
Licensor as expressly required by this License).
91+
92+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
93+
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
94+
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
95+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
96+
TITLE.

NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AutoMQ for Kafka
1+
AutoMQ NOTICE
22
Copyright 2023-2024, AutoMQ HK Limited.
33

44
---------------------------

NOTICE-binary

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AutoMQ for Kafka
1+
AutoMQ Binary NOTICE
22
Copyright 2023-2024, AutoMQ HK Limited.
33

44
---------------------------

automq-shell/src/main/java/com/automq/shell/AutoMQApplication.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/AutoMQCLI.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/commands/cluster/Cluster.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/commands/cluster/Create.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/commands/cluster/Deploy.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/constant/ServerConfigKey.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/log/LogRecorder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/log/LogUploader.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/log/S3LogConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/log/S3RollingFileAppender.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/metrics/PrometheusUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/metrics/S3MetricsConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/metrics/S3MetricsExporter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/model/ClusterTopology.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/model/EndpointProtocol.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/model/Env.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/model/Global.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/model/Node.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/model/S3Url.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/model/StreamTags.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/stream/ClientKVClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

automq-shell/src/main/java/com/automq/shell/stream/ClientStreamManager.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Copyright 2024, AutoMQ HK Limited.
33
*
4-
* Use of this software is governed by the Business Source License
5-
* included in the file BSL.md
4+
* The use of this file is governed by the Business Source License,
5+
* as detailed in the file "/LICENSE.S3Stream" included in this repository.
66
*
77
* As of the Change Date specified in that file, in accordance with
88
* the Business Source License, use of this software will be governed

0 commit comments

Comments
 (0)