Stream temporal workflow statuses for Apache Kafka

I want to stream all the statuses ( running, closed, terminated, start-end date, etc ) of the workflows to a place like Apache Kafka. If any workflow is added or status is changed I need to know and send a stream of that.

  • What do you guys suggest?
  • Is there a structure to which I can subscribe? for streaming

This is not currently possible. You can implement a workflow interceptor for this. However, the interceptor is not called in case of workflow termination or timeout.