Question about ea7: List for a single partition - log file load

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

Hi @harveysanders, thanks for highlighting the issue! We’ll investigate it and keep you updated with any progress.

Hi @harveysanders, we’re fixing the issue in this PR. Thanks for highlighting it!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.