Skip to content

Commit

Permalink
ref(ingest-replay-recordings): Remove unused consumer args (#45175)
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnagara authored Feb 28, 2023
1 parent 1702653 commit 04032e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/sentry/replays/consumers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
def get_replays_recordings_consumer(
topic: str,
group_id: str,
max_batch_size: int,
auto_offset_reset: str,
force_topic: str | None,
force_cluster: str | None,
**options: dict[str, str],
) -> StreamProcessor[KafkaPayload]:
topic = force_topic or topic
consumer_config = get_config(topic, group_id, auto_offset_reset, force_cluster)
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/runner/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def profiles_consumer(**options):
@run.command("ingest-replay-recordings")
@log_options()
@configuration
@batching_kafka_options("ingest-replay-recordings", max_batch_size=100)
@kafka_options("ingest-replay-recordings")
@click.option(
"--topic", default="ingest-replay-recordings", help="Topic to get replay recording data from"
)
Expand Down

0 comments on commit 04032e8

Please sign in to comment.