Skip to content

Commit

Permalink
updated kafka conf to remove old logs
Browse files Browse the repository at this point in the history
  • Loading branch information
r3machine committed Jun 16, 2017
1 parent a36804e commit e0ee90d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions kubernetes/conf/kafka.json.in
Original file line number Diff line number Diff line change
@@ -82,6 +82,22 @@
{
"name": "KAFKA_CREATE_TOPICS",
"value": "impressions:2:1,ctr_full:2:1,actions:2:1,events:2:1,predictions:2:1"
},
{
"name": "KAFKA_LOG_RETENTION_HOURS",
"value": "2"
},
{
"name": "KAFKA_LOG_ROLL_HOURS",
"value": "2"
},
{
"name": "KAFKA_LOG_CLEANUP_POLICY",
"value": "delete"
},
{
"name": "KAFKA_LOG_CLEANER_ENABLE",
"value": "true"
}
],
"image": "seldonio/kafka-k8s:%SELDON_KAFKA_K8S_IMAGE_VERSION%",

0 comments on commit e0ee90d

Please sign in to comment.