question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
calohmncommented, Nov 19, 2021

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.

0reactions
b-abelcommented, Nov 24, 2021

I created #2967.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apache Kafka Reference Guide - Quarkus
This reference guide demonstrates how your Quarkus application can utilize SmallRye Reactive Messaging to interact with Apache Kafka. 1. Introduction. Apache ...
Read more >
Using Apache Kafka with Schema Registry and Avro - Quarkus
The Movies will be serialized and deserialized using Avro. The schema, describing the Movie, is stored in Apicurio Registry. The same concept applies...
Read more >
Using Apache Kafka Streams - Quarkus
This guide demonstrates how your Quarkus application can utilize the Apache Kafka Streams API to implement stream processing applications ...
Read more >
Dev Services for Kafka - Quarkus
Because starting a Kafka broker can be long, Dev Services for Kafka uses Redpanda, a Kafka compatible broker which starts in ~1 second....
Read more >
Getting Started with Apache Kafka in your Quarkus application
Go to https://code.quarkus.io, enter your group id and artifact id. Then in the extension list, select: SmallRye Reactive Messaging - Kafka ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found