Skip to content

Commit

Permalink
feat: Devserver enforces schema for topics where one is defined (#4410)
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnagara committed Jun 26, 2023
1 parent a367a37 commit af1ddb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions snuba/cli/devserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--log-level=debug",
"--storage=transactions",
"--consumer-group=transactions_group",
"--enforce-schema",
],
),
(
Expand All @@ -70,6 +71,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--log-level=debug",
"--storage=outcomes_raw",
"--consumer-group=outcomes_group",
"--enforce-schema",
],
),
(
Expand Down Expand Up @@ -214,6 +216,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--no-strict-offset-reset",
"--log-level=debug",
"--consumer-group=snuba-metrics-consumers",
"--enforce-schema",
],
),
(
Expand All @@ -226,6 +229,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--no-strict-offset-reset",
"--log-level=debug",
"--consumer-group=snuba-gen-metrics-distributions-consumers",
"--enforce-schema",
],
),
(
Expand All @@ -238,6 +242,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--no-strict-offset-reset",
"--log-level=debug",
"--consumer-group=snuba-gen-metrics-sets-consumers",
"--enforce-schema",
],
),
(
Expand All @@ -250,6 +255,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--no-strict-offset-reset",
"--log-level=debug",
"--consumer-group=snuba-gen-metrics-counters-consumers",
"--enforce-schema",
],
),
]
Expand Down Expand Up @@ -429,6 +435,7 @@ def devserver(*, bootstrap: bool, workers: bool) -> None:
"--log-level=debug",
"--storage=spans",
"--consumer-group=spans_group",
"--enforce-schema",
],
),
]
Expand Down

0 comments on commit af1ddb7

Please sign in to comment.