-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into fix/unfold-message-ha…
…ndling
- Loading branch information
Showing
21 changed files
with
319 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
branches: | ||
- main | ||
- release/** | ||
pull_request: | ||
|
||
jobs: | ||
dist: | ||
|
@@ -15,11 +16,12 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.12 | ||
- run: | | ||
pip install wheel | ||
python setup.py sdist bdist_wheel | ||
- uses: actions/[email protected] | ||
python scripts/create_metrics_def_json.py | ||
- run: pip install wheel setuptools | ||
- run: python setup.py sdist bdist_wheel | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.sha }} | ||
path: dist/* |
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 |
---|---|---|
|
@@ -10,3 +10,5 @@ | |
.idea/ | ||
target/ | ||
/Cargo.lock | ||
|
||
arroyo/utils/metricDefs.json |
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
Validating CODEOWNERS rules …
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,2 +1,2 @@ | ||
* @getsentry/owners-snuba @getsentry/ops | ||
/rust-arroyo @getsentry/owners-snuba @getsentry/ops @getsentry/processing | ||
/rust-arroyo @getsentry/owners-snuba @getsentry/ops |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
from __future__ import annotations | ||
|
||
from typing import Optional, Union | ||
|
||
from arroyo.processing.strategies.abstract import ProcessingStrategy | ||
from arroyo.types import FilteredPayload, Message, TStrategyPayload | ||
|
||
|
||
class Noop( | ||
ProcessingStrategy[Union[FilteredPayload, object]], | ||
): | ||
""" | ||
Noop strategy that takes a message and does nothing. | ||
""" | ||
|
||
def __init__(self) -> None: | ||
pass | ||
|
||
def submit( | ||
self, message: Message[Union[FilteredPayload, TStrategyPayload]] | ||
) -> None: | ||
pass | ||
|
||
def poll(self) -> None: | ||
pass | ||
|
||
def join(self, timeout: Optional[float] = None) -> None: | ||
pass | ||
|
||
def close(self) -> None: | ||
pass | ||
|
||
def terminate(self) -> None: | ||
pass |
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 |
---|---|---|
|
@@ -35,4 +35,5 @@ Messages | |
run_task_with_multiprocessing | ||
produce | ||
commit_offsets | ||
noop | ||
healthcheck |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Noop | ||
----------------------------- | ||
|
||
.. automodule:: arroyo.processing.strategies.noop | ||
:members: |
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
Oops, something went wrong.