[ 
https://issues.apache.org/jira/browse/KAFKA-16518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849236#comment-17849236
 ] 

Muralidhar Basani commented on KAFKA-16518:
-------------------------------------------

[~jsancio] have a draft pr opened for adding 'standalone'

It basically does the below.
 * It expects a metadaa log dir to exist
 * If dir exists, a meta.properties file is created if it doesn't exist.
 * a random id is generated and written to file directory.id

what do you think, if am in the right path ?

 
{code:java}
 ./bin/kafka-storage.sh standalone --config ./config/server.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/Users/muralidharbasani/projects/others/kafka3/kafka/tools/build/dependant-libs-2.13.14/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/Users/muralidharbasani/projects/others/kafka3/kafka/trogdor/build/dependant-libs-2.13.14/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
(In standalone mode,/tmp/kafka-logs)
Found metadata log directory:
  /tmp/kafka-logs
directory.id written to file : /tmp/kafka-logs/meta.properties
muralidharbasani@Muralidhars-MacBook-Pro kafka % cat 
/tmp/kafka-logs/meta.properties 
directory.id=XacTeGoyR8iao_wXrdiY4w%
{code}
 

> Storage tool changes for KIP-853
> --------------------------------
>
>                 Key: KAFKA-16518
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16518
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: tools
>            Reporter: José Armando García Sancio
>            Assignee: Muralidhar Basani
>            Priority: Major
>             Fix For: 3.8.0
>
>
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-853%3A+KRaft+Controller+Membership+Changes#KIP853:KRaftControllerMembershipChanges-kafka-storage



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to