I am trying to run Producer and Consumer within single function.
The flow is below :
message arrived --> consume from topic 1 --> transform --> produce t