Ottomata has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/360847 )
Change subject: hiera-ize a log retention parameters for analytisc kafka brokers
......................................................................
hiera-ize a log retention parameters for analytisc kafka brokers
deployment-prep instances were filling up with logs. Some MobileWikiApp*
EventLogging schemas are all of the sudden much more active there.
We don't need to keep much data in beta, so this allows us to configure
retention via hiera there.
Note that this is not the preferred way of doing hiera, but these
analytics role classes are slated to disappear soon.
Change-Id: I6e9d6c1726aaf62f2486e4cc87fffdf30116f556
---
M modules/role/manifests/kafka/analytics/broker.pp
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/47/360847/1
diff --git a/modules/role/manifests/kafka/analytics/broker.pp
b/modules/role/manifests/kafka/analytics/broker.pp
index 0559aa6..f3090be 100644
--- a/modules/role/manifests/kafka/analytics/broker.pp
+++ b/modules/role/manifests/kafka/analytics/broker.pp
@@ -96,7 +96,8 @@
# This should guarantee 4 big partitions like text/upload to co-exist
# on the same disk partition leaving enough space for other ones.
# More info in: T136690
- log_retention_bytes => 375809638400,
+ log_retention_bytes =>
hiera('confluent::kafka::broker::log_retention_bytes', 375809638400),
+ log_retention_hours =>
hiera('confluent::kafka::broker::log_retention_hours', 168),
# Use LinkedIn recommended settings with G1 garbage collector,
jvm_performance_opts => '-server -XX:PermSize=48m
-XX:MaxPermSize=48m -XX:+UseG1GC -XX:MaxGCPauseMillis=20
-XX:InitiatingHeapOccupancyPercent=35',
}
--
To view, visit https://gerrit.wikimedia.org/r/360847
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e9d6c1726aaf62f2486e4cc87fffdf30116f556
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits