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

kogito-runtimes: cloud events are empty in native mode (persistence and events)

    XMLWordPrintable

Details

    • 2020 Week 13-15 (from Mar 23)
    • Hide

      Examples version 0.8.1

      1. Start Kafka and Infinispan locally
      2. Configure jbpm-quarkus-example for local kafka and infinispan
      3. $ mvn clean package -Ppersistence,events,native -DskipTests  -Dquarkus.native.container-runtime=podman
        
      4. $ ./target/jbpm-quarkus-example-0.8.1-runner
        

      To listen to topics, you can use:

      • $ bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic kogito-processinstances-events
        
      • $ bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic kogito-usertaskinstances-events
        
      Show
      Examples version 0.8.1 Start Kafka and Infinispan locally Configure jbpm-quarkus-example for local kafka and infinispan $ mvn clean package -Ppersistence,events,native -DskipTests -Dquarkus.native.container-runtime=podman $ ./target/jbpm-quarkus-example-0.8.1-runner To listen to topics, you can use: $ bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic kogito-processinstances-events $ bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic kogito-usertaskinstances-events

    Description

      When using 'jbpm-quarkus-example' in native mode with persistence and events, the events sent to Kafka are almost empty:

      kogito-processinstances-events

      {"kogitoParentProcessinstanceId":null,"kogitoProcessinstanceState":"1","kogitoReferenceId":null}
      
      {"kogitoParentProcessinstanceId":"b2a24a12-3cb1-4a71-b221-e3fb53032bec","kogitoProcessinstanceState":"1","kogitoReferenceId":null}
      

      kogito-usertaskinstances-events

      {"kogitoUserTaskinstanceId":"ba6b3073-ab5a-4b74-8c76-ce6226820839","kogitoUserTaskinstanceState":"Ready"}
      

      See also https://issues.redhat.com/browse/KOGITO-1405?focusedCommentId=14007550&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14007550

      Attachments

        Issue Links

          Activity

            People

              tdolphin-1 Tiago Dolphine
              tradisso@redhat.com Tristan Radisson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: