Hi, I’m not sure if this is intentional, but in some cases the metadata log file not available by the time the application runs.
My app attempts to open the file soon after start up, and sometimes I get this error:
[tester::#EA7] Running tests for Stage #EA7 (Listing Partitions - List for a single partition)
[tester::#EA7] $ ./your_program.sh /tmp/server.properties
[tester::#EA7] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[tester::#EA7] [Serializer] - Wrote file to: /tmp/server.properties
[tester::#EA7] [Serializer] - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[your_program] 2025/01/03 02:12:27 open topics metadata log file: open /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log: no such file or directory
[tester::#EA7] [Serializer] - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[tester::#EA7] [Serializer] - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[tester::#EA7] [Serializer] - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[tester::#EA7] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[tester::#EA7] Connecting to broker at: localhost:9092
[tester::#EA7] Looks like your program has terminated. A Kafka server is expected to be a long-running process.
[tester::#EA7] Test failed
If the intention is to write while starting the app, it may be helpful to mention that the file should be opened later. If this behavior is part of the challenge, then disregard this message : )
Thanks