dko
dko

Reputation: 361

Running Kogito Examples shows Warning "Unrecognized configuration keys was provided; it will be ignored"

I am running the Process user tasks with timer: Hiring example in the kiegroup/kogito-examples repository. I am building and deploying with the default Infinispan profile/ configuration. My goal is to be able to use the Kogito Management Console and Task Inbox.

I followed the README and referenced the Kogito documentation here: https://docs.kogito.kie.org/latest/html_single

I was anticipating the config properties to have a modified name in the latest version, but the names look the same, so why are my configs showing up as unrecognized?

I am using the 1.44.1.Final tag version. I compared the quarkus-platform-version on the different branches and noticed the main branch they are using 3.2.9.Final, but the rest are all 2.16 so the example should be working for those versions.

Here is the application.properties

...
#to be reachable from the container running job-service
kogito.service.url=http://host.docker.internal:8080
kogito.dataindex.http.url=http://localhost:8180
kogito.dataindex.ws.url=ws://localhost:8180
...
#Job-service
kogito.jobs-service.url=http://localhost:8580
...

Here is the pom.xml

...
<properties>
    <quarkus-plugin.version>2.16.10.Final</quarkus-plugin.version>
    <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
    <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
    <quarkus.platform.version>2.16.10.Final</quarkus.platform.version>
    <kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id>
    <kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
    <kogito.bom.version>1.44.1.Final</kogito.bom.version>
    <version.org.kie.kogito>1.44.1.Final</version.org.kie.kogito>
</properties>
...

The warning logs when I run mvn clean compile quarkus:dev -PInfinispan:

[WARNING] [io.quarkus.config] Unrecognized configuration key "kogito.persistence.type" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
[WARNING] [io.quarkus.config] Unrecognized configuration key "kogito.dataindex.ws.url" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
[WARNING] [io.quarkus.config] Unrecognized configuration key "kogito.dataindex.http.url" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
[WARNING] [io.quarkus.config] Unrecognized configuration key "kogito.jobs-service.url" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo

Note: I saw this similar question but was not helpful or similar to my example Unrecognized configuration key was provided; it will be ignored; verify that the dependency extension for this configuration

Upvotes: 0

Views: 275

Answers (0)

Related Questions