apache / apache/openwhisk

Kafka container doesn't have a volume mapping for persisting data

Open
#4,676 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

There is no volume mapping for persisting Kafka data. Although unlikely, it can cause data loss.

If there's no reason not to use the volume mapping, can I add it?

```yaml
docker_container:
name: kafka{{ groups['kafkas'].index(inventory_hostname) }}
image: "{{ kafka_image }}"
state: started
recreate: true
restart_policy: "{{ docker.restart.policy }}"
env: "{{ kafka_env_vars }}"
ports: "{{ ports_to_expose }}"
volumes:
- "{{ config_root_dir }}/kafka/certs:/config"
pull: true
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.