fix: replay defaults (#23530)

This commit is contained in:
Paul D'Ambra
2024-07-08 16:33:42 +01:00
committed by GitHub
parent b5deb786d3
commit 4831eddb2f
2 changed files with 2 additions and 2 deletions

View File

@@ -1947,7 +1947,7 @@ class TestCapture(BaseTest):
self._send_august_2023_version_session_recording_event(event_data=None)
session_recording_producer_singleton_mock.assert_called_with(
compression_type=None,
compression_type="gzip",
kafka_hosts=[
"another-server:9092",
"a-fourth.server:9092",

View File

@@ -40,4 +40,4 @@ REPLAY_MESSAGE_TOO_LARGE_SAMPLE_BUCKET = get_from_env(
#
# gzip is the current default in production
# TODO we can clean this up once we've tested the new gzip-in-capture compression and don't need a setting
SESSION_RECORDING_KAFKA_COMPRESSION = get_from_env("SESSION_RECORDING_KAFKA_COMPRESSION", "gzip-in-capture")
SESSION_RECORDING_KAFKA_COMPRESSION = get_from_env("SESSION_RECORDING_KAFKA_COMPRESSION", "gzip")