Skip to content

Commit db74549

Browse files
committed
Enable stats for system.kafka_consumers back by default
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
1 parent e7592c1 commit db74549

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Storages/Kafka/StorageKafka.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,12 +746,10 @@ void StorageKafka::updateConfiguration(cppkafka::Configuration & kafka_config,
746746
/// materialized view attached.
747747
///
748748
/// So for now it is disabled by default, until properly fixed.
749-
#if 0
750749
if (!config.has(config_prefix + "." + "statistics_interval_ms"))
751750
{
752751
kafka_config.set("statistics.interval.ms", "3000"); // every 3 seconds by default. set to 0 to disable.
753752
}
754-
#endif
755753

756754
if (kafka_config.get("statistics.interval.ms") != "0")
757755
{

0 commit comments

Comments
 (0)