blob: 8764a9de88bd0da7e91fe755b50d1cd05af80eff [file] [log] [blame]
Matteo Scandolo8266f952018-05-15 15:46:16 -07001---
2# Copyright 2018-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Zack Williamsa7b3e4c2018-08-14 15:12:49 -070016# Deploy a single replica of Kafka during development
17#
18# Tested with v0.8.8 of the chart from the helm incubator
19#
20# ex:
21# helm install -f examples/kafka-single.yaml --version 0.8.8 -n cord-kafka incubator/kafka
Matteo Scandolo8266f952018-05-15 15:46:16 -070022
Zack Williams11255982018-08-27 14:22:55 -070023# ref: https://kafka.apache.org/documentation/#configuration
Zack Williamsa7b3e4c2018-08-14 15:12:49 -070024configurationOverrides:
25 "offsets.topic.replication.factor": 1
Zack Williams11255982018-08-27 14:22:55 -070026 "log.retention.hours": 4
Zack Williamsfa441a12018-09-20 08:51:58 -070027 "log.message.timestamp.type": "LogAppendTime"
Zack Williams11255982018-08-27 14:22:55 -070028
Zack Williamsfa441a12018-09-20 08:51:58 -070029# NOTE: The log.message.timestamp.type override causes timestamps set by the
30# producer be overridden on the broker. This should be removed once all kafka
31# libraries have been updated to use the newer v1 message format that add the
32# timestamp to the message.
33#
34# The `afkak` client in VOLTHA uses the outdated format, and reports -1 as the
35# timestamp.
36#
37# More context:
38# https://cwiki.apache.org/confluence/display/KAFKA/KIP-32+-+Add+timestamps+to+Kafka+message
39#
Zack Williams11255982018-08-27 14:22:55 -070040replicas: 1
Zack Williamsa7b3e4c2018-08-14 15:12:49 -070041
Matteo Scandolob59dc1d2018-05-23 08:06:33 -070042persistence:
43 enabled: false
Zack Williamsa7b3e4c2018-08-14 15:12:49 -070044
Matteo Scandolo8266f952018-05-15 15:46:16 -070045zookeeper:
Zack Williamsa7b3e4c2018-08-14 15:12:49 -070046 replicaCount: 1
Matteo Scandolob59dc1d2018-05-23 08:06:33 -070047 persistence:
48 enabled: false