Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Dproperties_path does not seem to work #207

Open
jbcodeforce opened this issue Oct 12, 2021 · 0 comments
Open

-Dproperties_path does not seem to work #207

jbcodeforce opened this issue Oct 12, 2021 · 0 comments

Comments

@jbcodeforce
Copy link

Bug

Issue Summary

When saving the kafka.properties not in the same folder as the jar then the setting like

java -jar demo-all.jar -Dproperties_path=/Users/jeromeboyer/kafka.properties

does not work.

2021-10-12 16:44:00,379 INFO [vert.x-eventloop-thread-0] kafka.vertx.demo.Main - Application version: 1.0.0
2021-10-12 16:44:00,381 ERROR [vert.x-eventloop-thread-0] kafka.vertx.demo.Main - ❌ Application failed to start
io.vertx.core.impl.NoStackTraceThrowable: Kafka properties file at location kafka.properties is missing. Either specify using -Dproperties_path= or use the default path of kafka.properties.

Environment

  • OS: macOS
  • Browser (version): ?

How To Reproduce This Issue

just move kafka.properties in another folder and then starts with -D

Expected Behaviour

Load kafka.properties from any folder.

Relevant Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant