Skip to content

Commit 0cdbec6

Browse files
authored
ref: Use @kafka_options decorator for ingest-consumer cli (#45231)
The @batching_kafka_options decorator will be deprecated in favour of @kafka_options which supports both batching and non batching mode.
1 parent 32c0dff commit 0cdbec6

File tree

1 file changed

+1
-1
lines changed
  • src/sentry/runner/commands

1 file changed

+1
-1
lines changed

src/sentry/runner/commands/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def batching_kafka_options(
548548
is_flag=True,
549549
help="Listen to all consumer types at once.",
550550
)
551-
@batching_kafka_options("ingest-consumer", max_batch_size=100)
551+
@kafka_options("ingest-consumer", include_batching_options=True, default_max_batch_size=100)
552552
@click.option(
553553
"--concurrency",
554554
type=int,

0 commit comments

Comments
 (0)