Matteo Scandolo | 8266f95 | 2018-05-15 15:46:16 -0700 | [diff] [blame] | 1 | --- |
| 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 Williams | a7b3e4c | 2018-08-14 15:12:49 -0700 | [diff] [blame] | 16 | # 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 Scandolo | 8266f95 | 2018-05-15 15:46:16 -0700 | [diff] [blame] | 22 | |
Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 23 | # ref: https://kafka.apache.org/documentation/#configuration |
Zack Williams | a7b3e4c | 2018-08-14 15:12:49 -0700 | [diff] [blame] | 24 | configurationOverrides: |
| 25 | "offsets.topic.replication.factor": 1 |
Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 26 | "log.retention.hours": 4 |
Zack Williams | fa441a1 | 2018-09-20 08:51:58 -0700 | [diff] [blame] | 27 | "log.message.timestamp.type": "LogAppendTime" |
Zack Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 28 | |
Zack Williams | fa441a1 | 2018-09-20 08:51:58 -0700 | [diff] [blame] | 29 | # 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 Williams | 1125598 | 2018-08-27 14:22:55 -0700 | [diff] [blame] | 40 | replicas: 1 |
Zack Williams | a7b3e4c | 2018-08-14 15:12:49 -0700 | [diff] [blame] | 41 | |
Matteo Scandolo | b59dc1d | 2018-05-23 08:06:33 -0700 | [diff] [blame] | 42 | persistence: |
| 43 | enabled: false |
Zack Williams | a7b3e4c | 2018-08-14 15:12:49 -0700 | [diff] [blame] | 44 | |
Matteo Scandolo | 8266f95 | 2018-05-15 15:46:16 -0700 | [diff] [blame] | 45 | zookeeper: |
Zack Williams | a7b3e4c | 2018-08-14 15:12:49 -0700 | [diff] [blame] | 46 | replicaCount: 1 |
Matteo Scandolo | b59dc1d | 2018-05-23 08:06:33 -0700 | [diff] [blame] | 47 | persistence: |
| 48 | enabled: false |