Dr-Dream commented on issue #6875:
URL: https://github.com/apache/incubator-kie/issues/6875#issuecomment-5196144843

   > Is the timestamp of the events also in the wrong order? Can you please 
confirm?
   
   Exactly, i've checked several - publishing in reverse order.
   
   Final proof was debugging afterCompletion. That was final answer at least 
for me. Anyway i've added link to exact place in narayana where it happens.
   
   actually it is quite fast so there are sub-ms times and you can't see it in 
logs
   ```
   
   [2026-08-04  14:35:36]       
(vzhukh-processor-00001-deployment-67fffc99f5-5rktv workflow)   2026-08-04 
11:35:36.649|DEBUG||org.kie.kogito.app.Kogito_outgoing_streamTxEventEmitter|publishing
 event ProcessInstanceDataEvent {specVersion=1.0, 
id='60d7d84f-0039-4988-a036-e9c332700063', source=/process/vzhukh-processor, 
type='vzhukh.text.processed.v1', time=2026-08-04T11:35:36.582639676Z, 
subject='null', dataContentType='null', dataSchema=null, 
data={"data":{"text":"sdfsdfsdfsdf"},"type":"output"}, 
kogitoProcessInstanceId='9dff5446-05e3-4950-9091-83375217f2e7', 
kogitoRootProcessInstanceId='null', kogitoProcessId='vzhukh-processor', 
kogitoRootProcessId='null', kogitoAddons='null', kogitoIdentity='null', 
extensionAttributes={chatid=178510888, chattype=telegram, messageid=2895, 
kogitoproctype=SW, kogitoprocinstanceid=9dff5446-05e3-4950-9091-83375217f2e7, 
kogitoprocist=Active, kogitoprocversion=1.0.4, kogitoprocid=vzhukh-processor}}
   [2026-08-04  14:35:36]       
(vzhukh-processor-00001-deployment-67fffc99f5-5rktv workflow)   2026-08-04 
11:35:36.649|FINE||io.smallrye.context.jta.context.propagation.JtaContextProvider|Suspending
 transaction TransactionImple < ac, BasicAction: 
0:ffff0a2a0128:80c7:6a71ce7d:1b status: ActionStatus.COMMITTED >
   [2026-08-04  14:35:36]       
(vzhukh-processor-00001-deployment-67fffc99f5-5rktv workflow)   2026-08-04 
11:35:36.650|DEBUG||io.quarkus.reactivemessaging.http.runtime.HttpSink|Invoking 
request: 
   [2026-08-04  14:35:36]       
(vzhukh-processor-00001-deployment-67fffc99f5-5rktv workflow)   2026-08-04 
11:35:36.650|FINE||io.smallrye.context.jta.context.propagation.JtaContextProvider|Resuming
 transaction TransactionImple < ac, BasicAction: 
0:ffff0a2a0128:80c7:6a71ce7d:1b status: ActionStatus.COMMITTED >
   [2026-08-04  14:35:36]       
(vzhukh-processor-00001-deployment-67fffc99f5-5rktv workflow)   2026-08-04 
11:35:36.650|DEBUG||org.kie.kogito.app.Kogito_outgoing_streamTxEventEmitter|publishing
 event ProcessInstanceDataEvent {specVersion=1.0, 
id='9da9524d-de7a-4357-99df-bc134a5c923a', source=/process/vzhukh-processor, 
type='vzhukh.text.processed.v1', time=2026-08-04T11:35:36.580961676Z, 
subject='null', dataContentType='null', dataSchema=null, 
data={"data":{"text":"sdfsdfsdfsdf"},"type":"output-1"}, 
kogitoProcessInstanceId='9dff5446-05e3-4950-9091-83375217f2e7', 
kogitoRootProcessInstanceId='null', kogitoProcessId='vzhukh-processor', 
kogitoRootProcessId='null', kogitoAddons='null', kogitoIdentity='null', 
extensionAttributes={chatid=178510888, chattype=telegram, messageid=2895, 
kogitoproctype=SW, kogitoprocinstanceid=9dff5446-05e3-4950-9091-83375217f2e7, 
kogitoprocist=Active, kogitoprocversion=1.0.4, kogitoprocid=vzhukh-processor}}
   [2026-08-04  14:35:36]       
(vzhukh-processor-00001-deployment-67fffc99f5-5rktv workflow)   2026-08-04 
11:35:36.651|DEBUG||org.kie.kogito.app.Kogito_outgoing_streamTxEventEmitter|publishing
 event ProcessInstanceDataEvent {specVersion=1.0, 
id='4bce7137-1ca6-4faf-b9bd-a662d0bea83c', source=/process/vzhukh-processor, 
type='vzhukh.text.processing.v1', time=2026-08-04T11:35:36.576419301Z, 
subject='null', dataContentType='null', dataSchema=null, 
data={"data":{"text":"sdfsdfsdfsdf"},"type":"processing-3","test":"some test, 
??? ????"}, kogitoProcessInstanceId='9dff5446-05e3-4950-9091-83375217f2e7', 
kogitoRootProcessInstanceId='null', kogitoProcessId='vzhukh-processor', 
kogitoRootProcessId='null', kogitoAddons='null', kogitoIdentity='null', 
extensionAttributes={chatid=178510888, chattype=telegram, messageid=2895, 
kogitoproctype=SW, kogitoprocinstanceid=9dff5446-05e3-4950-9091-83375217f2e7, 
kogitoprocist=Active, kogitoprocversion=1.0.4, kogitoprocid=vzhukh-processor}}
   [2026-08-04  14:35:36]       
(vzhukh-processor-00001-deployment-67fffc99f5-5rktv workflow)   2026-08-04 
11:35:36.651|DEBUG||org.kie.kogito.app.Kogito_outgoing_streamTxEventEmitter|publishing
 event ProcessInstanceDataEvent {specVersion=1.0, 
id='f55122dd-32c0-4977-80c4-176442bacee8', source=/process/vzhukh-processor, 
type='vzhukh.text.processing.v1', time=2026-08-04T11:35:36.567319676Z, 
subject='null', dataContentType='null', dataSchema=null, 
data={"data":{"text":"sdfsdfsdfsdf"},"type":"processing-2","test":"some test, 
??? ????"}, kogitoProcessInstanceId='9dff5446-05e3-4950-9091-83375217f2e7', 
kogitoRootProcessInstanceId='null', kogitoProcessId='vzhukh-processor', 
kogitoRootProcessId='null', kogitoAddons='null', kogitoIdentity='null', 
extensionAttributes={chatid=178510888, chattype=telegram, messageid=2895, 
kogitoproctype=SW, kogitoprocinstanceid=9dff5446-05e3-4950-9091-83375217f2e7, 
kogitoprocist=Active, kogitoprocversion=1.0.4, kogitoprocid=vzhukh-processor}}
   ```
   
   > 
   > Also, SonataFlow has been discontinued in Apache KIE. The efforts towards 
the now [Open Workflow Specification](https://openworkflow.cloud/) are on 
Quarkus Flow if you're willing to migrate: 
https://docs.quarkiverse.io/quarkus-flow/dev/
   
   Thanks for advice. I've checked sonata because it was mentioned first in 
runtimes, meanwhile same TxEventEmmiter Templates moved to drools repo. 
   Technically i was inspired by persistence / data-index / job-service and 
ofcourse knative integration.
   
   i'll try to go on with Synapse. Thanks.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to