Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8774

Data Index Dev Service cannot start due to "Unknown connector for kogito-jobs-events"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.35.0.Final
    • None
    • None
    • None
    • 2
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 09-11 (from Feb 27)

      After the recent switch to Kafka messaging connector by default in KOGITO-6937, the Dev Service cannot be started. The following message is displayed:

      2023-03-01 20:26:28,864 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT: 2023-03-01 19:26:28,862 ERROR [io.sma.rea.mes.provider] (main) SRMSG00230: Unable to create the publisher or subscriber during initialization: java.lang.IllegalArgumentException: SRMSG00072: Unknown connector for `kogito-jobs-events`.
      2023-03-01 20:26:28,865 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory.createPublisher(ConfiguredChannelFactory.java:170)
      2023-03-01 20:26:28,865 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory.register(ConfiguredChannelFactory.java:135)
      2023-03-01 20:26:28,865 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory.initialize(ConfiguredChannelFactory.java:107)
      2023-03-01 20:26:28,865 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.smallrye.reactive.messaging.providers.impl.ConfiguredChannelFactory_ClientProxy.initialize(Unknown Source)
      2023-03-01 20:26:28,866 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
      2023-03-01 20:26:28,866 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      2023-03-01 20:26:28,866 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
      2023-03-01 20:26:28,866 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.smallrye.reactive.messaging.providers.extension.MediatorManager.start(MediatorManager.java:206)
      2023-03-01 20:26:28,866 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.smallrye.reactive.messaging.providers.extension.MediatorManager_ClientProxy.start(Unknown Source)
      2023-03-01 20:26:28,866 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.smallrye.reactivemessaging.runtime.SmallRyeReactiveMessagingLifecycle.onApplicationStart(SmallRyeReactiveMessagingLifecycle.java:52)
      2023-03-01 20:26:28,867 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.smallrye.reactivemessaging.runtime.SmallRyeReactiveMessagingLifecycle_Observer_onApplicationStart_7f54e4b27c1b49e5e062caa58f1e82797fa01393.notify(Unknown Source)
      2023-03-01 20:26:28,867 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.ja2023-03-01 20:26:28,867 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:310)
      2023-03-01 20:26:28,867 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:78)
      2023-03-01 20:26:28,867 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:131)
      2023-03-01 20:26:28,867 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:100)
      2023-03-01 20:26:28,868 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source)
      2023-03-01 20:26:28,868 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source)
      2023-03-01 20:26:28,868 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
      2023-03-01 20:26:28,868 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.runtime.Application.start(Application.java:101)
      2023-03-01 20:26:28,868 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:108)
      2023-03-01 20:26:28,868 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.runtime.Quarkus.run(Quarkus.java:71)
      2023-03-01 20:26:28,869 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
      2023-03-01 20:26:28,869 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.runtime.Quarkus.run(Quarkus.java:124)
      2023-03-01 20:26:28,869 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.runner.GeneratedMain.main(Unknown Source)
      2023-03-01 20:26:28,869 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2023-03-01 20:26:28,869 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2023-03-01 20:26:28,870 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2023-03-01 20:26:28,870 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      2023-03-01 20:26:28,870 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:61)
      2023-03-01 20:26:28,870 INFO  [org.kie.kog.qua.wor.dep.dev.DataIndexInMemoryContainer] (docker-java-stream--1947342106) STDOUT:         at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:32)
      

      The issue is that it is trying to load Kafka connector as by default the image uses Kafka now. The profile http-events-support has to be used to use HTTP events.

              mmacik@redhat.com Marian Macik
              mmacik@redhat.com Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: