Help with running Travel Agency example

Skip to first unread message

Ming Fang

Mar 1, 2021, 2:54:44 AMMar 1
to Kogito development mailing list
When I try to apply for visa, the visa service prints the message below and nothing else happens.  The travel process instance remains active.

2021-03-01 07:51:44,473 WARN  [org.kie.kog.eve.imp.CloudEventConsumer] (vert.x-eventloop-thread-0) Consumer for CloudEvent type 'VisaApplicationsMessageDataEvent_1', trigger 'visaapplications': ignoring 
  payload '{"id":"dda48ac8-591e-4c33-9036-621cbe121f38","source":"/process/travels","type":"visaapplications","time":"2021-03-01T07:51:44.470356Z","data":{"firstName":"Jan","lastName":"Kowalski","city":" 
 New York","country":"US","duration":1,"passportNumber":"1","nationality":"Polish","approved":false},"kogitoProcessinstanceId":"5d301045-2208-4db9-a7ad-f8e374375bd6","kogitoProcessId":"travels","kogitoPr 

Cristiano Nicolai

Mar 1, 2021, 10:38:02 AMMar 1
to Kogito development mailing list

After you approve the visa, if you go back to the travels application and refresh it, you should see the hotel and flight details added to the reservation. Then if you click on tasks, it should open a task asking to confirm the travel.
Is the travel process not getting updated at all? What Kogito version are you using?


You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Best regards,

Cristiano Nicolai

Ming Fang

Mar 1, 2021, 10:49:39 AMMar 1
to Kogito development mailing list
The Visas UI does not show the visa application therefore I'm unable to approve it.
It seems like the visa service simply ignores the application altogether.
what could be the cause of this?

Cristiano Nicolai

Mar 2, 2021, 1:38:56 AMMar 2
to Kogito development mailing list

Could you share what steps you took so we can try to reproduce the issue? Are you using kogito-examples stable branch with version 1.2.0.Final?

Ming Fang

Mar 2, 2021, 2:21:19 AMMar 2
to Kogito development mailing list
Here are my steps on Kubernetes(not using the Kogito Operator).
1-deployed zookeeper, confluent Kafka 6, and Infinispan
2-using the tip of the Kogito-example code, which is using 1.2.0.Final, I built the images like this
mvn package -Pnative -Dnative-image.docker-build=true
docker build -f src/main/docker/Dockerfile.native -t $IMAGE .
The images are pushed to my local registry
3-I deployed the data-index service ( with the two protobuf files from the example
4-deployed the travels and visas web apps
5-Run ran this example that requires visa
curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d @- << EOF
"traveller" : {

"firstName" : "Jan",
"lastName" : "Kowalski",
"email" : "",
"nationality" : "Polish",
"address" : {
"street" : "polna",
"city" : "Krakow",
"zipCode" : "32000",
"country" : "Poland"
"trip" : {

"city" : "New York",
"country" : "US",
"begin" : "2019-12-10T00:00:00.000+02:00",
"end" : "2019-12-15T00:00:00.000+02:00"

6-on the travels app, I apply for visa
7-on the visa server I see the error message repeated here
2021-03-02 07:19:46,937 WARN  [org.kie.kog.eve.imp.CloudEventConsumer] (vert.x-eventloop-thread-0) Consumer for CloudEvent type 'VisaApplicationsMessageDataEvent_1', trigger 'visaapplications': ignoring 
  payload '{"id":"f032c061-c383-4a3a-afdd-ae667b9f383f","source":"/process/travels","type":"visaapplications","time":"2021-03-02T07:19:46.935336Z","data":{"firstName":"Jan","lastName":"Kowalski","city":" 
 New York","country":"US","duration":10,"passportNumber":"10","nationality":"Polish","approved":false},"kogitoProcessinstanceId":"bf86139e-bb6b-4c03-9302-18d453e2743e","kogitoProcessId":"travels","kogito 
Reply all
Reply to author
0 new messages