Merge pull request #12952 from YevhenBondarenko/fix/api-usage-stats-clear

[API usage] revert accidentally deleted api-usage clearing
This commit is contained in:
Viacheslav Klimov 2025-03-17 14:44:32 +02:00 committed by GitHub
commit 042005698a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,6 +123,7 @@ public class DefaultTbApiUsageReportClient implements TbApiUsageReportClient {
.setValue(value);
statsMsg.addValues(statsItem.build());
});
statsForKey.clear();
}
Map<TopicPartitionInfo, List<UsageStatsServiceMsg>> reportStatsPerTpi = new HashMap<>();