Skip to content

Commit

Permalink
Bump Arroyo to 2.17.6 (#6289)
Browse files Browse the repository at this point in the history
Bumped the Python requirements, not sure if anything needs to be changed
on the Rust side because of
https://github.com/getsentry/snuba/blob/master/rust_snuba/Cargo.toml#L34

---------

Co-authored-by: Markus Unterwaditzer <[email protected]>
  • Loading branch information
ayirr7 and untitaker authored Sep 17, 2024
1 parent e113f91 commit 40bf550
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pytest-watch==4.2.0
python-dateutil==2.8.2
python-rapidjson==1.8
redis==4.3.4
sentry-arroyo==2.17.1
sentry-arroyo==2.17.6
sentry-kafka-schemas==0.1.106
sentry-redis-tools==0.3.0
sentry-relay==0.8.44
Expand Down
4 changes: 2 additions & 2 deletions rust_snuba/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rust_snuba/bin/python_processor_infinite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ fn main() {
let output2 = output.clone();

let step = RunTask::new(
move |_| {
move |message| {
output2.fetch_add(1, Ordering::Relaxed);
Ok(())
Ok(message)
},
step,
);
Expand Down
4 changes: 4 additions & 0 deletions snuba/subscriptions/scheduler_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ def close(self, timeout: Optional[float] = None) -> None:
def closed(self) -> bool:
return self.__consumer.closed

@property
def member_id(self) -> str:
return self.__consumer.member_id


class SchedulerBuilder:
def __init__(
Expand Down

0 comments on commit 40bf550

Please sign in to comment.