-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade pre-commit hooks + Don't log message value in kafka broker (#14)
* S top logging event/message in the kafka broker and upgrade pre-commit - This might lead to data leaking into the logs. There's no reason for the entire message json to be going to logs. At best we can figure out a way to just log the ID if needed. - Handle generic ProducerError, instead of specific KafkaError - Upgrade pre-commit hooks. - Add further pre-commit changes * Increase package version to 0.1.3
- Loading branch information
Showing
10 changed files
with
60 additions
and
44 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -47,3 +47,15 @@ You can run workers for all the receivers | |
```bash | ||
eventbusk worker -A eventbus:bus | ||
``` | ||
|
||
## Contributing | ||
|
||
You can first setup the project locally as follows | ||
|
||
```bash | ||
git clone [email protected]:Airbase/eventbusk.git | ||
cd eventbusk | ||
poetry shell | ||
poetry install --no-root | ||
pre-commit install | ||
``` |
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
Empty file.
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.poetry] | ||
name = "eventbusk" | ||
version = "0.1.2" | ||
version = "0.1.3" | ||
description = "Event bus with Kafka" | ||
authors = ["Airbase Inc <[email protected]>"] | ||
|
||
|
@@ -27,7 +27,16 @@ taskipy = "1.10.3" | |
eventbusk = "eventbusk.cli:cli" | ||
|
||
[tool.isort] | ||
combine_as_imports = true | ||
profile = "black" | ||
src_paths = ["eventbusk"] | ||
|
||
[tool.black] | ||
extend-exclude = '' | ||
include = '\.pyi?$' | ||
line-length = 88 | ||
safe = true | ||
target-version = ['py39'] | ||
|
||
[tool.mypy] | ||
python_version = "3.9" | ||
|
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