Not able to retry the previous activity if gets false acknowledement

Hi @maxim @temporal_angie ,

I have a forward order temporal workflow which have an activity which publishes message to kafka topic to order service and then order service will call API for that activity and then sends back the ac knowledgement , If the ack is for sucess then continues and if ack is false then again we have to do the same activity to publish message to kafka . How to acheive this??

What is the maximum duration of such async request/reply?

Approx 30 seconds to 1 minute

Then you can use ManualActivityCompletion and use the standard activity retries.

@maxim will the task token be unique for every activity and every workflows running in the temporal??

Where we can store taskToken so that it can be used in other class??

Can you include it into the message that is pushed to Kafka and then include it into the reply?