-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
69d26f8
commit 494c650
Showing
21 changed files
with
394 additions
and
415 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 |
---|---|---|
|
@@ -66,7 +66,7 @@ jobs: | |
labels: | | ||
[email protected] | ||
org.opencontainers.image.url=https://karapace.io | ||
org.opencontainers.image.documentation=https://github.com/aiven/karapace/ | ||
org.opencontainers.image.documentation=https://github.com/Aiven-Open/karapace/ | ||
org.opencontainers.image.vendor=Aiven | ||
org.opencontainers.image.licenses=Apache-2.0 | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ Karapace | |
|
||
``karapace``. Your Apache Kafka® essentials in one tool. | ||
|
||
An `open-source <https://github.com/aiven/karapace/blob/master/LICENSE>`_ implementation | ||
An `open-source <https://github.com/Aiven-Open/karapace/blob/master/LICENSE>`_ implementation | ||
of `Kafka REST <https://docs.confluent.io/platform/current/kafka-rest/index.html#features>`_ and | ||
`Schema Registry <https://docs.confluent.io/platform/current/schema-registry/index.html>`_. | ||
|
||
|
@@ -81,14 +81,14 @@ override the ``bootstrap_uri`` config value, one would use the environment varia | |
``KARAPACE_BOOTSTRAP_URI``. Here_ you can find an example configuration file to give you an idea | ||
what you need to change. | ||
|
||
.. _`Here`: https://github.com/aiven/karapace/blob/master/karapace.config.json | ||
.. _`Here`: https://github.com/Aiven-Open/karapace/blob/master/karapace.config.json | ||
|
||
Source install | ||
-------------- | ||
|
||
Alternatively you can do a source install using:: | ||
|
||
python setup.py install | ||
pip install . | ||
|
||
Quickstart | ||
========== | ||
|
@@ -657,7 +657,7 @@ If you don't need or want to have the Karapace images around you can now proceed | |
Installed from Sources | ||
---------------------- | ||
|
||
If you installed Karapace from the sources via ``python setup.py install``, it can be uninstalled with the following ``pip`` command:: | ||
Karapace is installed ``pip install .``, it can be uninstalled with the following ``pip`` command:: | ||
|
||
pip uninstall karapace | ||
|
||
|
@@ -701,11 +701,8 @@ targets that correctly clean the ``runtime`` directory without deleting it, but | |
keep this in mind whenever you are not using ``make`` (e.g. running tests from | ||
your IDE). | ||
|
||
Note that the pre-commit checks are currently not working with the default | ||
Python version. This is because isort dropped Python 3.7 support. You have to | ||
use at least Python 3.8 for the pre-commit checks. Use ``pipx`` or ``brew`` or | ||
… to install pre-commit and use the global installation, there is also no | ||
dependency on it. | ||
Use ``pipx`` or ``brew`` or to install pre-commit and use the global installation, | ||
there is also no dependency on it. | ||
|
||
License | ||
======= | ||
|
@@ -720,7 +717,7 @@ Contact | |
======= | ||
|
||
Bug reports and patches are very welcome, please post them as GitHub issues | ||
and pull requests at https://github.com/aiven/karapace . Any possible | ||
and pull requests at https://github.com/Aiven-Open/karapace . Any possible | ||
vulnerabilities or other serious issues should be reported directly to the | ||
maintainers <[email protected]>. | ||
|
||
|
@@ -741,6 +738,6 @@ to them for pioneering the concept. | |
.. _`Aiven`: https://aiven.io/ | ||
|
||
Recent contributors are listed on the GitHub project page, | ||
https://github.com/aiven/karapace/graphs/contributors | ||
https://github.com/Aiven-OPen/karapace/graphs/contributors | ||
|
||
Copyright ⓒ 2021 Aiven Ltd. |
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 |
---|---|---|
@@ -1,3 +1,112 @@ | ||
[build-system] | ||
requires = ["setuptools > 64", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "karapace" | ||
requires-python = ">= 3.8" | ||
dynamic = ["version"] | ||
readme = "README.rst" | ||
license = {file = "LICENSE"} | ||
dependencies = [ | ||
"accept-types < 1", | ||
"aiohttp < 4", | ||
"aiokafka == 0.10.0", | ||
"cachetools == 5.3.3", | ||
"confluent-kafka == 2.4.0", | ||
"isodate < 1", | ||
"jsonschema < 5", | ||
"lz4", | ||
"networkx < 4", | ||
"protobuf < 4", | ||
"pyjwt >= 2.4.0 , < 3", | ||
"python-dateutil < 3", | ||
"python-snappy", | ||
"rich ~= 13.7.1", | ||
"tenacity < 10", | ||
"typing-extensions", | ||
"ujson < 6", | ||
"watchfiles < 1", | ||
"xxhash ~= 3.3", | ||
"zstandard", | ||
"prometheus-client == 0.20.0", | ||
|
||
# Patched dependencies | ||
# | ||
# Note: It is important to use commits to reference patched dependencies. This | ||
# has two advantages: | ||
# - Reproducible builds | ||
# - The contents of the file change, which invalidates the existing docker | ||
# images and forces a new image generation. | ||
# | ||
"avro @ https://github.com/aiven/avro/archive/5a82d57f2a650fd87c819a30e433f1abb2c76ca2.tar.gz#subdirectory=lang/py", | ||
] | ||
|
||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Database :: Database Engines/Servers", | ||
"Topic :: Software Development :: Libraries", | ||
] | ||
|
||
[project.scripts] | ||
karapace = "karapace.karapace_all:main" | ||
karapace_schema_backup = "karapace.backup.cli:main" | ||
karapace_mkpasswd = "karapace.auth:main" | ||
|
||
[project.urls] | ||
Homepage = "https://karapace.io" | ||
Repository = "https://github.com/Aiven-Open/karapace/" | ||
Issues = "https://github.com/Aiven-Open/karapace/issues" | ||
|
||
[project.optional-dependencies] | ||
sentry-sdk = ["sentry-sdk>=1.6.0"] | ||
ujson = ["ujson"] | ||
systemd-logging = ["systemd-python==235"] | ||
dev = [ | ||
# Developer QoL | ||
"pdbpp", | ||
|
||
# testing | ||
"filelock", | ||
"hypothesis", | ||
"psutil", | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-random-order", | ||
"pytest-timeout", | ||
"pytest-xdist[psutil]", | ||
"requests", | ||
|
||
# performance test | ||
"locust", | ||
|
||
# Sentry SDK | ||
"sentry-sdk" | ||
] | ||
typing = [ | ||
"mypy", | ||
"sentry-sdk", | ||
"types-cachetools", | ||
"types-jsonschema", | ||
"types-protobuf < 4" | ||
] | ||
|
||
|
||
[tool.setuptools.packages.find] | ||
include = ["karapace"] | ||
|
||
[tool.setuptools_scm] | ||
version_file = "karapace/version.py" | ||
|
||
[tool.black] | ||
target-version = ["py38"] | ||
line-length = 125 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.