[ 
https://issues.apache.org/jira/browse/KAFKA-13171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claudio Carcaci updated KAFKA-13171:
------------------------------------
    Priority: Major  (was: Trivial)

> KIP-500 Setup and named docker volumes
> --------------------------------------
>
>                 Key: KAFKA-13171
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13171
>             Project: Kafka
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Claudio Carcaci
>            Priority: Major
>
> Following the KIP-500 instructions to enable the Kraft mode 
> ([https://github.com/apache/kafka/blob/trunk/config/kraft/README.md)] the 
> command:
> {code:java}
> $ ./bin/kafka-storage.sh format -t <uuid> -c ./config/kraft/server.properties
> {code}
> will create a "meta.properties" file in the logs folder (i.e. 
> /tmp/kraft-combined-logs).
> If I build a Docker image with Kraft mode enabled and I mount a named volume 
> on the /tmp/kraft-combined-logs the content of the folder will be overwritten 
> (emptied) by the Docker named volume content. So I will lose the 
> meta.properties file.
> A possible solution would be to create the meta.properties file in a 
> separated folder and store all the created logs elsewhere so that by mounting 
> a named volume the logs folder can start empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to