You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The confusion is probably around the way you reference the consumed message. Pay attention to consumed. prefix of values referenced. In your example, you have the just someId referenced.
Looks like you would need to properly reference consumed. message, and also apply some additional processing to get exact pieces of consumed JSON.
Below is my speculative improvement of Response.json:
{"someId": "{{consumed.value | fromjson| jsonpath '$.someId'}}",// and so on}```
Haven't tried it myself, though. Let me know if it helps
Hi, thank you for your answer, but still it doesn't work.
Handlebars: Error at character 38 of line 7 near |
Seems like | character is invalid ? Is there some documentation around fromjsonjsonpath and this | character that you are using in your speculative improvement :) ?
Hello, I am using reactive producer for kafka mock actor as described here in documentation
The variables from consumer are not present in producer
here is a dummy code for actors configuration that I am using :
here is Request.json:
here is Response.json:
after producing a message like:
the consumer receives message, producer produces a message too but I get following warning:
[2022-08-18 12:41:47,241 root WARNING] Handlebars: Could not find variable 'someId'
and the produced message is without filled values :
The text was updated successfully, but these errors were encountered: