hono: Quarkus images with Kafka: hono.kafka.defaultClientIdPrefix does not map to any root

When starting current master Quarkus images with Kafka, using the IoT Packages Helm chart, there is this exception

Nov 18, 2021 2:33:11 PM io.quarkus.runtime.ApplicationLifecycleManager run
ERROR: Failed to start application (with profile prod)
io.smallrye.config.ConfigValidationException: Configuration validation failed:
	hono.kafka.defaultClientIdPrefix does not map to any root
	at io.smallrye.config.ConfigMappingProvider.mapConfiguration(ConfigMappingProvider.java:855)
	at io.smallrye.config.ConfigMappingProvider.mapConfiguration(ConfigMappingProvider.java:811)
	at io.smallrye.config.SmallRyeConfigBuilder.build(SmallRyeConfigBuilder.java:403)
	at io.quarkus.runtime.generated.Config.readConfig(Config.zig:1293)
	at io.quarkus.deployment.steps.RuntimeConfigSetup.deploy(RuntimeConfigSetup.zig:42)
	at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:326)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (21 by maintainers)

Commits related to this issue

Most upvoted comments

Hmm, I have added a corresponding unit test which indicates that the properties are being picked up correctly by KafkaMetricsOptions. What makes you think that they are not getting picked up?

@sophokles73 Sorry, I recently changed my local test config for the helm chart and misplaced the metrics properties there. I’ve now fixed that and tested it again with your PR changes and it works as expected.

And yes, the above is the expected default configuration.