kafka-java-vertx-starter icon indicating copy to clipboard operation
kafka-java-vertx-starter copied to clipboard

-Dproperties_path does not seem to work

Open jbcodeforce opened this issue 4 years ago • 0 comments

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

jbcodeforce avatar Oct 12 '21 23:10 jbcodeforce